Re: [Fwd: Re: CD/DVD automount in Fedora 12]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello François,

Wednesday, April 7, 2010, 12:37:01 AM, you wrote:

>>> Immediately after boot, check for soft link:
>>>
>>> /dev/dvd -->> /dev/sr0
>>>
>>> (dvd, crrom, cdrw, dvdrw, whatever... at least one)
>>
>>
>> $ ls -l /dev/cdr*
>> lrwxrwxrwx 1 root root 3 2010-04-06 19:31 /dev/cdrom1 -> sr0
>> lrwxrwxrwx 1 root root 3 2010-04-06 19:31 /dev/cdrw1 -> sr0
>> $ ls -l /dev/dvd*
>> lrwxrwxrwx 1 root root 3 2010-04-06 19:31 /dev/dvd1 -> sr0
>> lrwxrwxrwx 1 root root 3 2010-04-06 19:31 /dev/dvdrw1 -> sr0
>> $
>>
>>> Then insert a disk and check again if the soft link i still there.
>>
>> $ ls -l /dev/dvd*
>> ls: cannot access /dev/dvd*: No such file or directory
>> $ ls -l /dev/cdr*
>> ls: cannot access /dev/cdr*: No such file or directory
>>
>>
>> Hugh, that's not right, is it?

> I think that it is a bug.... I asked this question some time ago and had
> no answer!

> After a lot of googleing I came accross a solution, but first: have you
> a file:

> /etc/udev/rules.d/70-persistent-cd.rules
> (Maybe, with another number).

> If not, create one, using the command:

> udevtest /sys/block/sr0


> Then, normally, you have this "persistent-cd-rules" file

> Reboot and see if you can automount your disks.

> (With this file, the links must be "persistent", ie. they are not erased
> when you insert a disk.)


> I posted this solution some times ago on this list, but someone answered
> that if this has been removed from f12, there were certainly a good
> reason why and that I could have many side effects if I added it now!

> I have absolutely no problem up to now and problem is solved for me.
> Hope it will be the same for you.

> Hope too that someone gives a good reason for suppressing this file in f12.


I do have this file already:

[root@frontend1 rules.d]# cat /etc/udev/rules.d/70-persistent-cd.rules
# This file was automatically generated by the /lib/udev/write_cd_rules
# program, probably 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.

# DVD-RW_DVR-111 (pci-0000:03:00.1-scsi-0:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:03:00.1-scsi-0:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:03:00.1-scsi-0:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:03:00.1-scsi-0:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:03:00.1-scsi-0:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
# DVD-RW_DVR-111 (pci-0000:02:00.0-scsi-0:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:02:00.0-scsi-0:0:0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:02:00.0-scsi-0:0:0:0", SYMLINK+="cdrw1", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:02:00.0-scsi-0:0:0:0", SYMLINK+="dvd1", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:02:00.0-scsi-0:0:0:0", SYMLINK+="dvdrw1", ENV{GENERATED}="1"
#


So it must be something else, or ... am I missing something?


-- 
Best regards,
 Andrew             


-- 
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

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux