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

François Patte francois.patte at mi.parisdescartes.fr
Tue Apr 6 20:37:01 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- -------- Message original --------
Sujet : Re: CD/DVD automount in Fedora 12
Date : Tue, 06 Apr 2010 20:27:44 +0200
De : François Patte <francois.patte at mi.parisdescartes.fr>
Pour : Andrew Junev <a-j at a-j.ru>
Références : <1326724431.20100405193302 at a-j.ru>
<4BBAD3C0.1090809 at mi.parisdescartes.fr> <1212664710.20100406193809 at a-j.ru>

Le 06/04/2010 17:38, Andrew Junev a écrit :
> Hello François,
>
>
> Tuesday, April 6, 2010, 10:25:04 AM, you wrote:
>
>>> This is a strange question, perhaps... How do I _enable_ CD-ROM
>>> automount on Fedora 12 machine?
>
>>  2 tests:
>
>> 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.

- --
François Patte
UFR de mathématiques et informatique
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 4286 2145
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAku7m20ACgkQdE6C2dhV2JUmnACcC1/PJeTJhk3TBmIqX2Mnuyo0
v0IAnjGixSCqEZE2/c1o/M8oLUVTFnSg
=uL1J
-----END PGP SIGNATURE-----


More information about the users mailing list