Archaic wrote:
Can you grab
http://downloads.linuxfromscratch.org/udev-config-20060430.tar.bz2

and check it out. Especially the rules you say are Suse-specific. If
Jim hasn't said anything by the time you reply, please tell me
specifically which lines to remove. Thanks!

There are some points of doubt.

KERNEL=="capi", NAME="capi20",  SYMLINK="isdn/capi20"
KERNEL=="capi*", NAME="capi/%n", GROUP="dialout"

Won't the second rule match the bare "capi" device and thus hide the result of
the first one?

KERNEL=="card*", NAME=""

I have an unofficial TODO item to check this again because of an unofficial bug
report with permissions (the report is that udev still creates the device despite NAME=""). User error suspected.

KERNEL=="s[grt][0-9]*",                 GROUP="disk"

st (SCSI tape) has its own rule below, sr is caught in 81-cdrom.rules, and "sg" is better owned by root because it is not only for disks. Net result: remove the rule.

KERNEL=="scd[0-9]*",                    GROUP="cdrom"

This rule is never hit, because there is /sys/block/sr0, but not /sys/block/scd0. Remove.

Also, just for cleanness, I suggest to move all rules from 25-lfs.rules with the "RUN" in them to a separate file, 25-run.rules. The SuSE-specific rules about "timeout" are dubious and are better commented out.

Raw USB long rule has to be added to LFS (to 25-lfs.rules) because it deals with naming (you may want to change SYMLINK+= to NAME=).

BTW, I think that this discussion belongs to lfs-dev.

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