🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25973

Re: df usage wrong

#25973
From: Trevor Fiatal
Date: Sun, 08 Feb 1998 00:00
34 lines
2025 bytes
On Sun, 08 Feb 1998 10:15:37 +0100, Peter Augustin <acp@inode.at>
spake thusly:

>readme:~$ df
>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.

A certain percentage of every filesystem is reserved for use by root only.
This buys you two things: working space for your filesystem to place files
optimally, thus avoiding the need for defrag programs; and emergency working
room for the root user if emergency filesystem cleanup is needed.  Under
Solaris, the percentage is tunable; I don't recall whether Linux allows you to
change the value after creating the filesystem.

This is standard behaviour for every unix variant I've ever dealt with.
Perhaps you simply never noticed it before?

-Trevor

--
/--------------------------------=-------------------------------------\
|Trevor Fiatal - trevor@home.net | WANTED: Experienced Usenet and mail |
|Internet Applications Architect | systems admin. Relocation available |
|@Home Network, SF Bay Area, CA  | for right candidate. Email for info.|
\--------------------------------|-------------------------------------/

Technical Details
Message-ID: <886931957.977603@zeppelin.svr.home.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <34DD77B9.6BAC482A@inode.at>

Show Full Headers
Complete Article Headers
Message-ID: <886931957.977603@zeppelin.svr.home.net>
Subject: Re: df usage wrong
Date: Sun, 08 Feb 1998 00:00:00 +0000
From: trevor@home.net (Trevor Fiatal)
References: <34DD77B9.6BAC482A@inode.at>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 323113746
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Cache-Post-Path: zeppelin.svr.home.net!unknown@24.0.25.18
Content-Type: text/plain; charset=us-ascii
Organization: @Home Network
Newsgroups: news.software.nntp