I have a rather strange problem with supermount. Here's what happened.
Supermount seemed to be working find for both of my installed CD drives:
/dev/hdc is a Pioneer DVD 105S and /dev/hdd is an HP CDRW drive. I am pretty
sure the last time I put a CD into either drive, it supermounted just fine.
Today I was mucking with compiling the 2.4.1 kernel; after doing the compile
and installing it into grub, I rebooted into the 2.4.1 kernel. Unfortunately,
it didn't work for the rather dumb reason of not being able to find my mouse!
Since I default to RL 5 with kdm running, and with no mouse, I wasn't able to
reboot or get anywhere, so finally I was forced to power down. I then
rebooted into 2.2.18-mdk and all looked ok...until:
I was thinking, after rebooting, that before I reconfigure the kernel, I
really should be compiling and such without being root, and then just su when
it was time to copy everything to /boot. I figured the easiest way to do this
is to just rm -rf /usr/src/linux-2.4.1, then copy the tarred source off the
CD that I had burned it to before, untar, and do everything as my normal user
self. So I did the rm, and then popped the CD back into the drive...and it
did not supermount.
I looked at fstab, and found that all of the supermount entries were GONE.
The timestamp on the file indicated it was edited today, but I know I didn't
touch it. Strange.
So I tried "supermount -i enable" and the appropriate supermount entries were
added to fstab, but when I put CD's into the drives, I find that they still
don't supermount, and I cannot figure out why.
As an interesting aside, I found that when I manually tried to mount the
cd's, I could not unless I was root, but editing fstab by hand and adding the
"user" option fixed that. Still no supermount, though.
Anyone with any ideas? Here is my fstab: (note that the entries for the
automounted items read, for instance, "mnt/cdrom /mnt/cdrom" and the actual
device is specified as an option (dev=/dev/cdrom). I assume this is correct
for supermounted devices...
Note also that the proper symlinks (/dev/cdrom->/dev/hdc and
/dev/cdrom2->/dev/scd0) are in place.
cat /etc/fstab:
/dev/hda5 / ext2 defaults 1 1
/dev/hda1 /boot ext2 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hda7 /home ext2 defaults 1 2
/mnt/cdrom /mnt/cdrom supermount
fs=iso9660,dev=/dev/cdrom,ro,user,nosuid,noauto,nodev,exec 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount
fs=iso9660,dev=/dev/cdrom2,ro,user,nosuid,noauto,nodev,exec 0 0
/mnt/floppy /mnt/floppy supermount
fs=vfat,dev=/dev/fd0,nosuid,noauto,nodev,unhide 0 0
/dev/hda2 /mnt/windows fs=vfat,umask=0,nosuid,nodev,exec 0 0
none /proc proc defaults 0 0
/dev/hda9 /tmp ext2 defaults 1 2
/dev/hda8 /usr ext2 defaults 1 2
/dev/hda10 /var ext2 defaults 1 2
/dev/hda6 swap swap defaults 0 0