bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: df /usr stats all mounted filesystems


From: Andreas Schwab
Subject: Re: df /usr stats all mounted filesystems
Date: 30 Nov 2001 11:41:32 +0100
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.1.30

"jsc" <address@hidden> writes:

|> Hi,
|> 
|> When I "df /usr", the command hangs for about 2-3 seconds, and error
|> messages appear in /var/log/messages about supermounted filesystems
|> (cdrom, zip, floppy).  Basically, it seems that "df /usr" is calling stat
|> on all filesystems in /etc/mtab.

Yes, that is a property of statfs in the GNU libc on Linux.  It needs to
find out the filesystem flags, which is only possible by parsing either
/proc/mounts or /etc/mtab.

Andreas.

-- 
Andreas Schwab                                  "And now for something
address@hidden                          completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]