[linux-lvm] Patch for Miguel Cabe?a's lvm2create_initrd script
Joe Thornber
thornber at redhat.com
Wed Mar 10 08:25:00 UTC 2004
On Tue, Mar 09, 2004 at 09:05:14PM -0500, Jeff Layton wrote:
> The second one is an ugly hack, and I'm definitely open to better ways
> of handling it. After my kernel upgrade (from 2.6.1 to 2.6.4-rc2), the
> major number of the device mapper devices on my system changed. So, I
> added a hack to copy the contents of the ramdisk /dev/mapper directory
> to the /dev/mapper directory on the lvm2 root filesystem, prior to the
> pivot_root. It works for me, but I'd love to hear about better ways of
> handling this.
Mount tmpfs on /dev/mapper, and then run 'dmsetup mknods' ?
- Joe
More information about the linux-lvm
mailing list