On Mon, 2005-03-21 at 13:31 +0100, Marco d'Itri 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?


If /dev/.static/dev is going to retain the permissions that it has then
I see no reason to change anything.  What is there to "fix"?

[EMAIL PROTECTED]:~$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda6             10082852   9121552    449112  96% /
tmpfs                   193424        16    193408   1% /dev/shm
/dev/hda3               490496     14390    450780   4% /boot
/dev/hda7             11191604   3489176   7133920  33% /usr
df: `/dev/.static/dev': Permission denied
none                     10240      2652      7588  26% /dev
[EMAIL PROTECTED]:~$ sudo df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda6             10082852   9121556    449108  96% /
tmpfs                   193424        16    193408   1% /dev/shm
/dev/hda3               490496     14390    450780   4% /boot
/dev/hda7             11191604   3489176   7133920  33% /usr
/dev                  10082852   9121556    449108  96% /dev/.static/dev
none                     10240      2652      7588  26% /dev

The printing of "Permission denied" seems fully appropriate.
-- 
Thomas Hood <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to