Re: OOM & [OT] util-linux-2.12e

DervishD
2004-09-20T10:52:06Z

Hi Andreas :)

* Andreas Schwab <schwab@suse.de> dixit:
> > - fix all broken apps that still rely on mtab. like GNU df(1)
> df does not rely on /etc/mtab. It relies on getmntent.

Then my GNU df has any problem :???

$ df --version

df (coreutils) 5.2.1
Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ mv /etc/mtab /etc/nomtab
$ df
df: cannot read table of mounted filesystems: No such file or directory

$ mv /etc/nomtab /etc/mtab
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 78106388 58601124 19505264 76% /
tmpfs 32768 0 32768 0% /dev/shm
/dev/backup 19530636 15707348 3823288 81% /var/backup

IMHO, it depeds on mtab. Maybe it is configurable thru
'./configure' at build time?

Raúl Núñez de Arenas Coronado

--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/