Re: du,df tools

2003-09-23 Thread Mike Hogsett

 first, why does 59375408 + 1348433 != 61337213
 df -k /home/henninb
 Filesystemkbytesused   avail capacity  Mounted on
  61337213 59375408 134843398%/home/henninb

I believe your disk has 1% reserved space.  See newfs(8)

 -m free space %
 The percentage of space reserved from normal users; the minimum
 free space threshold.  The default value used is defined by
 MINFREE from ufs/ffs/fs.h, currently 8%.  See tunefs(8) for
 more details on how to set this option.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: du,df tools

2003-09-23 Thread Andy K
Hi Brain

Try df -h (h for human readable output I think)Also, in you shell
profile change BLOCKSIZE= to k for kilobytes, M for Megabytes to suit
you needs

Regards
Andrew Kozak
]
On Wed, 2003-09-24 at 03:52, Brian Henning wrote:
 Greetings:
 I would like to use df and du tools to get some stat about my files and my disk.
 
 first, why does 59375408 + 1348433 != 61337213
 df -k /home/henninb
 Filesystemkbytesused   avail capacity  Mounted on
  61337213 59375408 134843398%/home/henninb
 
 second, when i try the following command i get the result in usage on the disk.
 does du give results of  'actual file size'? can i get it to report the result
 in bytes or megabytes?
 du -a -k /home/henninb/
 
 Thanks for any help,
 
 Brian
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]