I'm trying to set up my CDRW drive in /etc/fstab using supermount
so I can read/write to it without having to manually mount and
unmount it. I'm using the pktcdvd module of Kernel 2.6.10 to
enable write support. Now, I've got it working with supermount so
far as being able to 'cd' to the mountpoint, write files there, and
read files. But the only problem is that the drive's tray never gets
unlocked when I'm done. I tried specifying both tray_lock=onwrite
and tray_lock=never, but the tray gets locked in both cases and I
can't seem to unlock it except by umounting the supermount entry.
This seems to happen for UDF-formatted CDs in general, be it
mounted via /dev/hdc directly or via /dev/pktcdvd0 that has been
mapped to /dev/hdc using pktsetup. Here are my
specific /etc/fstab entries for the CDROM/RW drive:
none /mnt/cdrom supermount
dev=/dev/cdrom,fs=udf:iso9660,tray_lock=never 0 0
none /mnt/cdrw supermount
dev=/dev/pktcdvd0,fs=udf,tray_lock=never,--,user 0 0
It seems as if supermount is only recognizing the tray_lock option
when the device has been mounted as iso9660, and ignoring it
otherwise. But I'm sure you'd have a better idea of what might be
going on.
Logged In: YES
user_id=83339
Actually, tray_lock isn't having an effect for either UDF or regular ISO9660
CDs right now. It used to work! And suddenly it's not. Maybe it's since I
upgraded my kernel to 2.6.10 or something - I don't know. This sucks. So
I have to manually run "eject" on the device every time I'm done with it
now.