How to calculate bsdlabel size
Harald Schmalzbauer
h at schmalzbauer.de
Wed Feb 4 13:53:26 PST 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040204/0a19c269/attachment-0001.bin
More information about the freebsd-questions
mailing list