The current supermount system is trying for find a device called "cdrom",
I think that searching the pattern "cd" is more accurate. In that case,
/dev/cdrom & /dev/scdx (scsi drives or ide-scsi devices) are detected !
That usually the case with IDE CD burners & real scsi cdrom drives.*

I'm thinking about a new way to detect DVD drives when people use supermount. For example, my dvd rom drives is /dev/hdc and my fstab doesn't mount /dev/dvd but /dev/hdc. In that case, my dvd rom drives is not autodetect evenif I'm manually fixup my fstab.

--- src/config.py.old    2003-12-14 15:04:26.000000000 +0100
+++ src/config.py    2003-12-14 15:04:47.000000000 +0100
@@ -610,7 +610,7 @@
                mntdir = match_automount.group(1)
                devname = match_automount.group(2)
                # Must check that the supermount device is cd or dvd
-                if devname.lower().find('cdrom') != -1:
+                if devname.lower().find('cd') != -1:
                    dispname = 'CD-%s' % (len(ROM_DRIVES)+1)
                elif devname.lower().find('dvd') != -1:
                    dispname = 'DVD-%s' % (len(ROM_DRIVES)+1)




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to