Matthew Burgess wrote:
Alexander E. Patrakov wrote:
2) Show both examples for both CD-ROM and network (i.e., 4 examples total, as in the current book)

Well, I'd actually be happy with just two examples. i.e. following the description of what location persistence is, tell folks that an example is implemented in write_cd_rules (with an explanation of what that example does, and what the result of the rule will be). Then do the same with the identity persistence, pointing to write_net_rules.

I'd rather not point to the scripts at this stage, just show examples of rules. The reason is that it is considered a good practice to explain one thing at a time: the rules (that can be written either by hand or by the generator), then the generator. But I don't insist.

Two examples plus a note that it is possible to do location based persistence for network cards is OK for me as well. Just two examples are not OK.

Anyway, since MAC-based network rules don't match my preference, I'll start a thread about this on linux-hotplug-devel today.

How should this be divided into sections?

I don't know what the actual section/subsection numbers would be, but something like:

1. What is device persistence?
1.1. Identity persistence?
1.1.1. Description of what it is, why/when you would want to use it.
1.1.2. Worked example (taken from write_net_rule)
1.2  Location Persistence
1.2.1. Description of what it is, why/when you would want to use it.
1.2.2. Worked example (taken from write_cd_rule)
1.3. Automatically generating rules - discuss the reasons why you might or might not want to do this. Provide commands to install the extras/rule_generator scripts.
OK.
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

Sounds good enough to me. As far as solving the "which card becomes eth0" problem, I don't know enough about it at the moment to comment. I'll try to get udev-100 working here over the weekend. Would you mind if I tackle this particular upgrade, Alexander (obviously with your input/advice)? The reason I'd like to do it is to try and improve my own knowledge of udev.

Go ahead, but note that I won't help much. The reason is that I worked too hard in the classroom in the past two weeks and can't concentrate my mind now. Additionally, two weeks away from LFS were enough for me to lose the track of current events. In short, I need some time to have a rest and to catch old news.

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