Alexander E. Patrakov wrote:

> So I propose to ditch the script from LFS and optionally move it to BLFS
> or to a hint. LFS should provide readers with instructions to create the
> relevant rules manually:
> 
> # Begin 82-persistent-cd.rules
> 
> # SAMSUNG_CD-ROM_SC-148F (pci-0000:00:07.1-ide-0:1)
> ACTION=="add", BUS=="ide", ID=="0.1", SYMLINK+="cdrom"
> # PHILIPS_CDD5301 (pci-0000:00:07.1-ide-1:1)
> ACTION=="add", BUS=="ide", ID=="1.1", SYMLINK+="cdrom1"
> ACTION=="add", BUS=="ide", ID=="1.1", SYMLINK+="cdrw1"
> ACTION=="add", BUS=="ide", ID=="1.1", SYMLINK+="dvd1"
> 
> # End 82-persistent-cd.rules

I like this approach.  It is actually fairly educational, not terribly
complex, and is not that different in concept from having the users fill
in their own fstab.

I do think there needs to be more comments into the appropriate values
of ID and how it would vary on individual systems.  A comment on the
actual name of the device that udev sets would also be appropriate.

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

Reply via email to