How to calculate bsdlabel size

2004-02-04 Thread Harald Schmalzbauer
Hi all,

I manually created disklabels with a size number of 10485760.
I wanted to have 5 GigaByte big labels, so 5*1024*1024*1024/512=10485760.
Now after doing a newfs and mounting the new label, df -h reports a size of 
4.8GB.
Can someone please enlighten me?

Thanks,

-Harry


pgp0.pgp
Description: signature


Re: How to calculate bsdlabel size

2004-02-04 Thread Harald Schmalzbauer
On Wednesday 04 February 2004 21:56, Danny Pansters wrote:
 On Wednesday 04 February 2004 21:31, Harald Schmalzbauer wrote:
  Hi all,
 
  I manually created disklabels with a size number of 10485760.
  I wanted to have 5 GigaByte big labels, so 5*1024*1024*1024/512=10485760.
  Now after doing a newfs and mounting the new label, df -h reports a size
  of 4.8GB.
  Can someone please enlighten me?
 
  Thanks,
 
  -Harry

 Per default, 5% of the space is reserved for root, so that in the worse
 case you can always write at least *something* to it as root. When running
 out of disk space you can actually get a 'df' of 106% or so because of
 this. It's a FAQ.

But it's not my problem. What you mean results in limited available space, but 
doesn't have any influence on Size summary. Btw I did a newfs with -m 0 so it 
can't be the reaseon.

-Harry


 HTH

 Dan


pgp0.pgp
Description: signature