HFS freespace has bugged me for a while.

It seems like the "df" command has limited usefulness under USS.

Maybe someone can help me understand this.

I created a test HFS with 1 cyl primary and 1 secondary extent

Initally the size of the filesystem is 720K
# df -k /foo Mounted on Filesystem Avail/Total Files Status /foo (HFS.TEST) 632/720 4294967294 Available

I copied a large file to /foo
Then the size is 1.4M
# cp /somebigfile /foo # df -k /foo /foo (HFS.TEST) 416/1440 4294967292 Available
Copying more large files into /foo
The HFS grows into extents until it fills up at 123 extents and 88M:

# df -k /foo Mounted on Filesystem Avail/Total Files Status /foo (HFS.TEST) 0/88560 4294967285 Available

Is there a command that shows how much real space is left in an HFS that is allowd to grow into extents?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to