Under FC3 I can mount a floppy simply by typing (as a normal user):
mount /dev/fd0
Today I've been trying to figure out why this won't work for me in FC4. The following examples were done with the same floppy that I could easily mount minutes ago in FC3. Same hardware, same computer. It's a dual boot FC3/FC4 box.
- Code: Select all
[dishawjp@eunix ~]$ mount /dev/fd0
mount: I could not determine the filesystem type, and none was specified
[dishawjp@eunix ~]$ mount -t vfat /dev/fd0
mount: only root can do that
[dishawjp@eunix ~]$ su -
Password:
[root@eunix ~]# mount /dev/fd0
mount: you must specify the filesystem type
[root@eunix ~]# mount -t vfat /dev/fd0
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
[root@eunix ~]# mount -t vfat /dev/fd0 /media/floppy
[root@eunix ~]#
The /dev/fd0 line in my FC4 /etc/fstab is:
- Code: Select all
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
and an "ls -l /dev/fd0" in FC4 is:
- Code: Select all
brw-rw---- 1 dishawjp floppy 2, 0 Jul 21 15:30 /dev/fd0
Both of which appear to be fairly normal. The /dev/fd0 line in my FC3 /etc/fstab has a lot more stuff in it and looks like this:
- Code: Select all
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
But /dev/fd0 looks identical. I do know that the "fscontext=system_u:object_r:removable_t," part is SELinux stuff and since I am running SELinux targeted on both machines I don't know why the difference.
I am hesitant to just paste this stuff into my fstab and maybe really hose things.
What does a "typical" /dev/fd0 fstab line look like in FC4? Any thoughts on why FC4 can't determine filesystem type?
As always, thanks in advance for any insight.
<edited to get rid of some extra spaces on fstab lines>
Jim



