It is currently Sun, 29 Nov 2020 13:06:35 GMT



 
Author Message
 Difference between df -k and df -b
Hi all,
I am curious about the difference in free space reported by df when
using the -k versus the -b options. The -b option shows more space
available then -k. The man pages are not much help except the hint
that -k shows space available for "unpriviledged users".  Man pages
say both options report in kbytes. The os level is 5.6.  As an
example:

$ df -k /dbac00
Filesystem
kbytes used avail capacity Mounted on
/dev/vx/dsk/oracledg/dbac00
1946504 1660935 90919 95% /dbac00

$ df -b /dbac00
Filesystem avail
/dev/vx/dsk/oracledg/dbac00 285569

In the above the -k shows 90919, the -b shows 285569. Any insights
into the reason for the different reported values would be greatly
appreciated.

Thank you,
Kurt



 Sun, 25 Mar 2007 11:33:27 GMT   
 Difference between df -k and df -b

See tunefs(1M), the -m minfree argument.



 Sun, 25 Mar 2007 11:45:34 GMT   
 Difference between df -k and df -b

      -b    Prints the total number of kilobytes free.

      -k    Prints the allocation in kbytes. The  output  consists
            of  one  line  of  information for each specified file
            system. This  information  includes  the  file  system
            name,  the  total  space allocated in the file system,
            the amount of space allocated to existing  files,  the
            total  amount  of  space available for the creation of
            new files by UNPRIVILEGED users, and the percentage of
            normally  available  space that is currently allocated
            to all files on the file system. This option overrides
            the -b, -e, -n, and -t options.



 Sun, 25 Mar 2007 20:26:20 GMT   
 
   [ 3 post ] 

Similar Threads

1. df -v versus df -vf

2. Disk space differences (fdisk + df)

3. Difference between df and du command

4. df difference from du

5. Difference In Partition Table versus df -k

6. What's the difference between du and df commands

7. Differences between df and du -s

8. du and df diskspace differences

9. df, du and ls differences

10. What is difference df/dd?


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software