udev rules changes
bruce.dubbs at gmail.com
Sun Oct 28 19:17:51 PDT 2007
I noticed that you changed the rules files quite a bit. I've not
looked at the layout much before and have a couple of questions.
1. There is a doc directory that explains each rule file. Is there a
reason that we can't just incorporate these .txt files as comments in
the rules files themselves?
2. I would be in favor of changing the dialout group to tty which would
allow us to drop several rules.
3. I think the 51- rules should be renamed to 55- to allow users to
place their own rules between the udev default and ours without
4. It states in the book that continuation of rules are not allowed with
a backslash-newline combination. In udev-116's udev_rules_parse.c, it
looks like backslashes are recognized. The function is parse_file and
starts at line 657 of the file. Checking git, it appears that this has
been available since 20 Dec 2004:
This was released in udev-051.
If continuation lines are indeed allowed, I think we can make our rules
with long lines look better with this feature. We would also need to
change the book.
More information about the lfs-dev