cdrom link not created
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am running udev-023 on /dev
the cdrom symlink is not created by the following rule
# if this is a ide cdrom, name it the default name, and create a symlink to cdrom BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"
but when I ran udev on /udev, it did create the link
All other devices and symlinks are ok
If I create a symlink by hand, the device works ok
# ls -l cd* lrwxrwxrwx 1 root root 3 2004-03-28 18:52 cdrom -> hdc lrwxrwxrwx 1 root root 3 2004-03-28 18:31 cdrw -> sr0
Any thoughts on this?
Regards, Treeve
- --
PGP Key ID: AB929B24
PGP Key Fingerprint:31D9 D22F 42E6 F545 662E AB6F 9697 34C5 AB92 9B24 -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAZwOTlpc0xauSmyQRAsXlAJ9r87B1tGDc4T20DTccwTNwslXcRgCffsFw 0L4B90HTAorpxjY0zWAv8gc�CT
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op�k
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 6 lines · Treeve Jelbert
the cdrom symlink is not created by the following rule
# if this is a ide cdrom, name it the default name, and create a symlink to cdrom BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"
This rule is broken anyway, because a system may have e.g. a cd reader and a burner.
On my system I use a standalone rule to associate a generic symlink to the right hardware device:
BUS="ide", ID="1.0", SYMLINK="cdrom"
I think that the distribution installer should create such rules for available devices.
Signature · 13 lines
ciao, | Marco | [5407 maOqbOgghlcDQ] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 20 lines · Treeve Jelbert
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1I am running udev-023 on /dev
the cdrom symlink is not created by the following rule
# if this is a ide cdrom, name it the default name, and create a symlink to cdrom BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"but when I ran udev on /udev, it did create the link
All other devices and symlinks are ok
Quoted 6 lines
If I create a symlink by hand, the device works ok
# ls -l cd* lrwxrwxrwx 1 root root 3 2004-03-28 18:52 cdrom -> hdc lrwxrwxrwx 1 root root 3 2004-03-28 18:31 cdrw -> sr0Any thoughts on this?
May be your timezone is still wrong :)
No, please try RESULT="cdrom*". Seems we lost the newline removal before we compare the strings.
thanks,
Kay
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel