Peter Ennis wrote:
There are no Begin and End lines. Other sample scripts
in the book include them. Is there are reason for the difference?
Consistency with files with udev rules that the user is not supposed to modify (i.e., the ones from the udev-config tarball). However, this can be changed if the majority votes for it.

Anyway, let me introduce udev-100 first - it (unfortunately) has the original non-educational CD-ROM rule generator in the recommended set of rules. The voting suggestion above holds only if we decide to ignore it, preferring Jim's viewpoint (in his opinion, a program that writes rules for itself is wrong). I disagree with that opinion, but don't want to force my disagreement upon others. Additionally, our work on showing the users the two styles of persistent rules (identity persistence and location persistence) is going to be lost if we adopt the stock generators.

If we decide to go with stock generator rules, something has to be done with multiple network interfaces, because it is not nown which of them will get eth0 on the first boot (but the name will be the same on all subsequent reboots). Possible solutions:

* Defer network configuration until after the reboot
* Pre-seed the database of network interfaces in the same manner as we do now, but only include sample rules based on MAC addresses and not on PCI location.

--
Alexander E. Patrakov


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

Reply via email to