On 06/08/2012 08:15 AM, JD wrote: > On 06/07/2012 03:49 PM, Ed Greshko wrote: >> On 06/08/2012 05:54 AM, JD wrote: >>> the eject command in f16 says >>> # eject >>> eject: unable to find or open device for: `cdrom' >>> >>> f16 has no cdrom or dvd entry in /dev, >>> so after each boot I have to manually >>> create the symlink to sr0. >>> >>> Is there a way to make the symlinks permanent in /dev? >>> >> Do you happen to have a /dev/cdrom1? > lrwxrwxrwx 1 root root 3 Jun 7 15:55 /dev/cdrom1 -> sr0 > > but the eject command wants /dev/cdrom. >> >> What are the contents of, or do you have, the >> /etc/udev/rules.d/70-persistent-cd.rules >> >> file? >> > The stock f16 /etc/udev/rules.d/70-persistent-cd.rules file contents are: > > # This file was automatically generated by the /lib/udev/write_cd_rules > # program, run by the cd-aliases-generator.rules rules file. > # > # You can modify it, as long as you keep each rule on a single > # line, and set the $GENERATED variable. > > # Slimtype_DVD_A_DS8A1P (pci-0000:00:02.5-scsi-1:0:0:0) > SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", > ENV{ID_PATH}=="pci-0000:00:02.5-scsi-1:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1" > SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", > ENV{ID_PATH}=="pci-0000:00:02.5-scsi-1:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1" > SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", > ENV{ID_PATH}=="pci-0000:00:02.5-scsi-1:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1" > SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", > ENV{ID_PATH}=="pci-0000:00:02.5-scsi-1:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1" > > # Slimtype_DVD_A_DS8A1P (pci-0000:00:02.5-scsi-0:0:0:0) > SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", > ENV{ID_PATH}=="pci-0000:00:02.5-scsi-0:0:0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1" > SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", > ENV{ID_PATH}=="pci-0000:00:02.5-scsi-0:0:0:0", SYMLINK+="cdrw1", ENV{GENERATED}="1" > SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", > ENV{ID_PATH}=="pci-0000:00:02.5-scsi-0:0:0:0", SYMLINK+="dvd1", ENV{GENERATED}="1" > SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", > ENV{ID_PATH}=="pci-0000:00:02.5-scsi-0:0:0:0", SYMLINK+="dvdrw1", ENV{GENERATED}="1" > 2 choices.... alias eject='eject /dev/cdrom1' or modify the lines in 70-persistent-cd.rules to swap the definitions. -- Never be afraid to laugh at yourself, after all, you could be missing out on the joke of the century. -- Dame Edna Everage -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org