/etc/fstab Lacks Mount Point For Floppy
Michal Jaegermann
michal at harddata.com
Sat Oct 16 22:16:08 UTC 2004
On Sat, Oct 16, 2004 at 02:11:43PM -0400, Robert L Cochran wrote:
> I just updated to hal-0.4.0-3 and still can't get the
> floppy device under the 624 kernel.
Hm, I was just playing with hal-0.4.0-3 and although something
is accessing my floppy drive, twice actually when going from
runlevel 1 to runlevel 3, indeed a new entry for a floppy is not
showing up. OTOH if I already have in /etc/fstab something like
/dev/fd0 /mnt/floppy auto noauto,user 0 0
or
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
then this is left alone. Or you mean that you want to see /media/floppy?
My CD-RW and a USB floppy (I happen to have such beast on hands :-)
get a different treatment. This shows up automagically in fstab
/dev/hdc /media/cdrecorder iso9660,udf exec,pamconsole,noauto,ro,managed 0 0
for the first one and this
/dev/sdb /media/floppy auto exec,pamconsole,noauto,managed 0 0
appears or disappears when that other thingy is plugged/unplugged.
Booting with a USB floppy connected is also good enough. I would
rather like to know how to replace this "exec" by "noexec,nodev" -
for example - but maybe one day this black magic will be also
revealed. :-) 'man fstab-sync' looks like a good place to start
even if this document has obvious bugs.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136026
Maybe something is just missing from configuration files but
that xml is only so-so readable.
Oh, in case somebody wonders; a behaviour with a floppy drive does
not change with a presence or absence of that USB extra.
> I guess I'll have to define a floppy device each time I reboot -- I
> don't have the skill to troubleshoot this issue.
As it was mentioned before 'chattr +i /etc/fstab' will make your
/etc/fsatb immutable but you may want to avoid such big hammers
while testing. OTOH if you are concerned that /mnt/floppy entry
is not automounting anymore (apparently it does not) then getting
'usermount' on your toolbar is not a very complicated operation.
A list in 'usermount' nicely shows only those file systems on which
you have mount/umount rights.
Or you are really seeing something else?
Michal
More information about the fedora-test-list
mailing list