On Mar 21, Lars Wirzenius <[EMAIL PROTECTED]> wrote: > Steve Langasek suggested on IRC that mounting /dev/.static/dev with the > -n option (which means the mount point won't be visible in /etc/mtab) > might be an evil fix for this problem. I've verified that removing the > line from mtab works as far as making df not report errors. Would this > be acceptable to you, Marco?
/etc/mtab can be a symlink to /proc/mounts, so to ensure that no user is ever faced with df's "permission denied" message you will also have to patch the kernel so that /dev/.static/dev isn't listed. An alternative would be to enhance df so that it printed a less ugly message. [EMAIL PROTECTED]:/etc$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda6 10082852 9121968 448696 96% / tmpfs 193424 16 193408 1% /dev/shm /dev/hda3 490496 14390 450780 4% /boot /dev/hda7 11191604 3489176 7133920 33% /usr /dev/ (permission denied) /dev/.static/dev none 10240 2652 7588 26% /dev -- Thomas Hood <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]