From owner-freebsd-current@FreeBSD.ORG Thu Feb 5 10:08:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0D0916A4CE for ; Thu, 5 Feb 2004 10:08:12 -0800 (PST) Received: from mail-in.m-online.net (mail-in.m-online.net [62.245.150.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9420F43D54 for ; Thu, 5 Feb 2004 10:08:11 -0800 (PST) (envelope-from h@schmalzbauer.de) Received: from mail.m-online.net (svr14.m-online.net [192.168.3.144]) by svr8.m-online.net (Postfix) with ESMTP id 5B0251DFF7 for ; Thu, 5 Feb 2004 19:08:10 +0100 (CET) Received: from cale.flintsbach.schmalzbauer.de (ppp-82-135-0-185.mnet-online.de [82.135.0.185]) by mail.m-online.net (Postfix) with ESMTP id 281274366E for ; Thu, 5 Feb 2004 19:08:10 +0100 (CET) From: Harald Schmalzbauer Date: Thu, 5 Feb 2004 19:08:09 +0100 User-Agent: KMail/1.5.4 To: freebsd-current@freebsd.org X-Birthday: 06 Oktober 1972 X-Name: Harald Schmalzbauer X-Phone1: +49 (0) 163 555 3237 X-Phone2: +49 (0) 89 18947781 X-Address: Munich, 80686 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_JaoIAZJhicy+pus"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200402051908.09836@harrymail> Subject: Fwd: Re: How to calculate bsdlabel size X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 18:08:13 -0000 --Boundary-02=_JaoIAZJhicy+pus Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline Hi all, since I got no answer on questions@ I' mforwarding it to current@, the syst= em=20 is a 5.2.1-RC =2D--------- Forwarded Message ---------- 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=3D10485= 760. > > 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. =2DHarry > HTH > > Dan =2D------------------------------------------------------ --Boundary-02=_JaoIAZJhicy+pus Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAIoaJBylq0S4AzzwRAgiMAJ9cyoHs6gHwnZaQ7CweQbzXHPuNMQCfaXQI XQr7yudGJjHyjJzN0HxOb6w= =GiPN -----END PGP SIGNATURE----- --Boundary-02=_JaoIAZJhicy+pus--