About the cdrom symlink

dienadel no at use.this.es
Sat Dec 18 11:02:26 PST 2004

Kevin P. Fleming wrote:

> sfs wrote:
>> BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media",
>> RESULT="cdrom", NAME="%k", SYMLINK="cdrom"
> Change "*[!0-9]" to "hdb", and you will be all set.
> However, if you move your devices around, such that hdb is now the
> writer, or hdb is no longer a CD-ROM type device, then the link will not
> point where you want it to. Just a friendly warning :-)

Thanks, it worked

More information about the lfs-support mailing list