Alexander E. Patrakov wrote:
Hello,

there's a cosmetic issue on the CD: the /dev/cdrom symlink always points to the last CD-ROM, not necessarily to the LFS Live CD. E.g., here it points to /dev/hdd, even if I boot from /dev/hdb. Possible solutions:

Do we really want /dev/cdrom to point to our LFS cd? I would imagine that if you had a system with 2 cdrom drives, you would want the other one to be available for your use (maybe you keep some BLFS packages on a cd, who knows...) and since the cdrom you booted from is tied up, with all its contents available in the / tree, what would be the point in accessing it via /dev/cdrom?

1) Ignore this and do nothing.
2) Disable the CD-ROM udev rule, optionally create the symlink from within initramfs. 3) Rewrite the CD-ROM udev rule to use the cdsymlinks.sh script, optionally create the /dev/lfs-cd symlink from initramfs.

I would say that if there's a need to have a descriptive symlink, then your /dev/lfs-cd idea is better. Create that symlink first, and then point the /dev/cdrom link to the next cd device it finds. Or something like that. Or just ignore it all and do nothing. :)

Just my take on it.

--
JH

--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to