From owner-freebsd-questions Sat Sep 11 7:40:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand5.global.net.uk (sand5.mail.gxn.net [194.126.80.249]) by hub.freebsd.org (Postfix) with ESMTP id BD55D14E5F for ; Sat, 11 Sep 1999 07:40:29 -0700 (PDT) (envelope-from mark@globalnet.co.uk) Received: from pd7s04a02.client.global.net.uk ([195.147.148.216] helo=marder-1.) by sand5.global.net.uk with esmtp (Exim 2.05 #1) id 11PoKH-0008AG-00; Sat, 11 Sep 1999 15:40:26 +0100 Received: (from mark@localhost) by marder-1. (8.9.2/8.8.8) id PAA00398; Sat, 11 Sep 1999 15:32:11 +0100 (BST) (envelope-from mark) Date: Sat, 11 Sep 1999 15:32:11 +0100 From: Mark Ovens To: lnb@cybertouch.org Cc: questions@freebsd.org Subject: Re: calculating available disk space Message-ID: <19990911153211.A315@marder-1> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from lnb@cybertouch.org on Sat, Sep 11, 1999 at 09:40:02AM -0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Sep 11, 1999 at 09:40:02AM -0400, lnb@cybertouch.org wrote: > Hello fellow FreeBSD users > Would someone please tell me what the math is to calculate the amount of > available disk space out from the example below? As im how many megs free. > > Thanks in advance for your help > > Filesystem 1K-blocks Used Avail Capacity Mounted on > heretic:/shared 2480982 323515 1958989 14% /shared > 1958989/1024 = 1913.0752MB You will notice, if you do the maths, that Used + Avail != 1K-blocks. In fact it is about 92% of the total as the system reserves 8% for its own use, only root can write to it which is why you may see Capacity at 109% on a full file system. HTH > > Regards, > > Lanny Baron > ---------------------------------- > lnb@cybertouch.org > 11-Sep-99, 09:40:02 > A banker is a fellow who lends you his umbrella when the sun is shining > and wants it back the minute it begins to rain. > -- Mark Twain > > > FreeBSD+Samba=A total solution for file servers and a ton more... > Freedom Network Solutions > http://freedomnetworks.com > ---------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- STATE-OF-THE-ART: Any computer you can't afford. OBSOLETE: Any computer you own. ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message