Matthew Burgess wrote:
Alexander E. Patrakov wrote:

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.

Can we not have our cake and eat it too? By which I mean, can we not use the stock generators explaining which of the styles of the persistent rules it uses and also showing an example of the other style?
Let's see if I understand you correctly.

1) Explain that "location persistence" and "identity persistence" are possible 2) Show both examples for both CD-ROM and network (i.e., 4 examples total, as in the current book) 3) Explain that it is possible to set up scripts that automatically write persistent rules for a device upon its first discovery, explain why retrying failed uevents is important for the scripts to work. 4) Optionally install pre-written scripts that achieve location persistence for CD-ROMs and identity persistence for network interfaces.

Is this what you mean? How should this be divided into sections? What else can be added for educational value without making LFS "the book about the toolchain, the kernel, and udev"?

So, assuming that we pre-populate the database in the scripted case or solve the "which card becomes eth0" problem by other means, this covers the following setups (let's talk about network interfaces for simplicity):

A) Location persistence, unscripted
B) MAC address persistence, unscripted
C) MAC address persistence, scripted

--
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