🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25963

Re: df usage wrong

#25963
From: John and Lucy Hayward-Warburton
Date: Sun, 08 Feb 1998 00:00
23 lines
1626 bytes
Peter Augustin (acp@inode.at) wrote:
> Filesystem         1024-blocks  Used Available Capacity Mounted on
> /dev/md0             23500763 21962138   268697     99%  
> /var/news/spool/articles
> Add 21,962,138 and 268,697 -> its 22,230,835 Bytes.
> Why says df 23,500,763 and not 22,230,835 Bytes? There are 1,269,928
> Bytes missing.

ext2fs systems have a certain amount of disk space reserved for root
(the 'superuser') so that if an ordinary user on the system fills up
the disk, there's still space for root to move around and do some work.

When most Linux distributions install themselves, the routine that makes
the filesystem does indeed make this reservation.

What df is reporting is the percentage of free-space not including
this reserved space... so you're running as normal. No problems there.

JHW remove nospam to reply


Technical Details
Message-ID: <6bk5eb$do@billabong.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.development.system.mbox.zip!not-for-mail
References: <34DD77B9.6BAC482A@inode.at>

Show Full Headers
Complete Article Headers
Message-ID: <6bk5eb$do@billabong.demon.co.uk>
Subject: Re: df usage wrong
Date: Sun, 08 Feb 1998 00:00:00 +0000
From: hay-warb@nospam.billabong.demon.co.uk (John and Lucy Hayward-Warburton)
References: <34DD77B9.6BAC482A@inode.at>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.development.system.mbox.zip!not-for-mail
X-Deja-AN: 323124028
X-NNTP-Posting-Host: billabong.demon.co.uk [194.222.216.167]
Followup-To: comp.os.linux.development.system,news.software.nntp
Organization: Lucida Ltd.
Newsgroups: comp.os.linux.development.system,news.software.nntp