We have run into this problem with diskless workstations in Debian
Edu, where it blocks CD mounts to work properly from KDE.  See
<URL: http://bugs.skolelinux.no/show_bug.cgi?id=1234 > for that bug
report.

The diskless workstation setup is a LTSP version with local
applications.  The file system is read-only, and thus /etc/ can't be
written to.  To get mounts working, we symlinked /etc/mtab to
/proc/mounts, after discovering that symlinking it to a writable
directory did not work.  This work for most mount points, but not for
the CDROM mounts, because /proc/mounts do not contain the user= flag
documenting who did the mounting.  This make it impossible for the
local user to umount the mounted CDROM.

Please make it possible to keep mtab outside /etc/, for example in
/lib/init/rw/.  Or at the very least, let it handle symlinks from
/etc/mtab to a writable location and do the update to the file pointed
to by the symlink.

Happy hacking,
-- 
Petter Reinholdtsen


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

Reply via email to