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

From: DervishD
Date: Mon Sep 20 2004 - 05:53:29 EST


Hi Andreas :)

* Andreas Schwab <schwab@xxxxxxx> 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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/