* [9front] disk space
@ 2021-02-02 4:23 thinktankworkspaces
2021-02-02 5:40 ` Alex Musolino
2021-02-02 5:49 ` telephil9
0 siblings, 2 replies; 5+ messages in thread
From: thinktankworkspaces @ 2021-02-02 4:23 UTC (permalink / raw)
To: 9front
what's the equivalent df in plan9. Trying to find the fee disk space or available
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9front] disk space
2021-02-02 4:23 [9front] disk space thinktankworkspaces
@ 2021-02-02 5:40 ` Alex Musolino
2021-02-07 1:35 ` thinktankworkspaces
2021-02-02 5:49 ` telephil9
1 sibling, 1 reply; 5+ messages in thread
From: Alex Musolino @ 2021-02-02 5:40 UTC (permalink / raw)
To: 9front
> what's the equivalent df in plan9. Trying to find the fee disk
> space or available
For cwfs(4) you can use the "statw" command on /srv/cwfs.cmd. For
hjfs(4) you can use the "df" command on /srv/hjfs.cmd. I usually use
con(1) with the -C option when talking over these filesytem command
channels.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9front] disk space
2021-02-02 4:23 [9front] disk space thinktankworkspaces
2021-02-02 5:40 ` Alex Musolino
@ 2021-02-02 5:49 ` telephil9
1 sibling, 0 replies; 5+ messages in thread
From: telephil9 @ 2021-02-02 5:49 UTC (permalink / raw)
To: 9front
You might be interested in looking at this link which answer this question and potentially many others:
http://docs.a-b.xyz/unix2plan9.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9front] disk space
2021-02-02 5:40 ` Alex Musolino
@ 2021-02-07 1:35 ` thinktankworkspaces
2021-02-07 2:37 ` Alex Musolino
0 siblings, 1 reply; 5+ messages in thread
From: thinktankworkspaces @ 2021-02-07 1:35 UTC (permalink / raw)
To: 9front
[-- Attachment #1: Type: text/plain, Size: 678 bytes --]
Its not really changing in size when I delete files
These number are not mathing up. I can't remember but I think the drive was 8G
Do I really have like 300MB left?
I suspect a dump or something needs to take place?
statw
cwstats main
filesys main
maddr = 3
msize = 2063
caddr = 210
csize = 278505
sbaddr = 305254
craddr = 305276 305276
roaddr = 305279 305279
fsize = 305281 305281 0+21%
slast = 305228
snext = 305280
wmax = 305279 0+21%
wsize = 1399680 1+ 0%
126041 none
342 dirty
0 dump
151452 read
670 write
0 dump1
cache 2% full
[-- Attachment #2: Type: message/rfc822, Size: 3690 bytes --]
From: Alex Musolino <alex@musolino.id.au>
To: 9front@9front.org
Subject: Re: [9front] disk space
Date: Tue, 02 Feb 2021 16:10:51 +1030
Message-ID: <D7CA03CC968AE64389FC93DAE74EF6D0@musolino.id.au>
> what's the equivalent df in plan9. Trying to find the fee disk
> space or available
For cwfs(4) you can use the "statw" command on /srv/cwfs.cmd. For
hjfs(4) you can use the "df" command on /srv/hjfs.cmd. I usually use
con(1) with the -C option when talking over these filesytem command
channels.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9front] disk space
2021-02-07 1:35 ` thinktankworkspaces
@ 2021-02-07 2:37 ` Alex Musolino
0 siblings, 0 replies; 5+ messages in thread
From: Alex Musolino @ 2021-02-07 2:37 UTC (permalink / raw)
To: 9front
> Its not really changing in size when I delete files
Deleting files will (likely) not reclaim any space in cwfs(4). If the
files you're deleting are already in the dump and haven't been pulled
the cache, then deleting them just writes out a new parent directory
without the entries for the deleted files. This new/modified
directory will later be written out to the dump.
> These number are not mathing up. I can't remember but I think the
> drive was 8G Do I really have like 300MB left?
Not sure where you're getting the 300MB figure from, but keep in mind
that these numbers are all in "blocks" so you need to multiply by 16K.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-02-07 23:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 4:23 [9front] disk space thinktankworkspaces
2021-02-02 5:40 ` Alex Musolino
2021-02-07 1:35 ` thinktankworkspaces
2021-02-07 2:37 ` Alex Musolino
2021-02-02 5:49 ` telephil9
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).