r8544 - in trunk/udev-config: . doc

Bryan Kadzban bryan at kadzban.is-a-geek.net
Fri May 23 04:14:08 PDT 2008

Hash: RIPEMD160

Dan Nicholson wrote:
> On Thu, May 22, 2008 at 4:54 PM,  <bryan at linuxfromscratch.org> wrote:
>> KERNEL=="dm-*",             OPTIONS+="ignore_device" 
>> -KERNEL=="device-mapper",    OPTIONS+="ignore_device"
> I'm not seeing the device-mapper rules in the 122 rules.


Crud.  You're right, it isn't there: I just tried loading dm-mod,
expecting it to create /dev/mapper/control, and it doesn't.

> There's a rule to rename the device to mapper/control in 
> packages/64-device-mapper.rules, but nothing in the default rules.

Yep.  I do remember looking at those packages/* rules, but when I killed
the rule in 55-lfs, I thought the device-mapper rule was part of
50-udev-default.  Obviously I got that wrong.  :-)

Well, the easiest fix is to modify the book to copy
etc/udev/packages/64-device-mapper.rules to /etc/udev/rules.d (though
that may mess up DESTDIR when that happens).  A harder fix (only because
it involves changing the udev-config tarball again) would be to either
revert this change, or copy the packages/64-device-mapper.rules rule.

Explanatory text might be the hard part; maybe something like "Install
an extra rule from Udev that handles the kernel device-mapper interface,
which is only used in some not-officially-LFS-supported cases"?  The
problem is, LFS doesn't explicitly support device-mapper (LVM, dmraid,
etc.), so it seems a bit weird installing support for those tools if
support isn't included in the base udev package.  Hmm...
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the lfs-book mailing list