Summary: | baselayout /sbin/rc should call "dmsetup mknodes" in the udev case | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Jellinghaus <aj> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andreas Jellinghaus
2004-12-17 07:21:10 UTC
"dmsetup mknodes" is one way of doing things, although in a way your not letting udev set up the device nodes which means if you want to create symlinks as part of the udev rule (e.g. for evms) you won't be able to via udev another way is to use a later version of dmsetup later than 1.00.20 (1.00.21 is the nearest but is currently masked) dmsetup -j <major> -m <minor> will identify a device-mapper table entry name which you can then fit in as part of the udev rules in theory you'd be able to do stuff like create symlinks for lvm or evms, or even specific links for particular Hard disks (usefull for Raid) http://forums.gentoo.org/viewtopic-t-263996-highlight-.html any solution is fine with me, if it provides the real system with a device node for a dm mapping, that was already created in an initrd/initramfs. I thought /sbin/rc is the proper place, but other options are fine with me, too. I'm sorry to tell you that I moved to a different OS in the meantime, so I can't test any potential solution any more. this is in baselayout-1.11.13 |