Re: Here is how to stop the new udev from accessing your striped dmraid drives

Peter Jones <[email protected]>
Newsgroups gmane.linux.ataraid
Organization Red Hat, Inc.
Message-ID <[email protected]>
On Wed, 2006-02-08 at 17:11 +0100, Luca Berra wrote:
> Just rm-ing the remove partition detection code from the kernel and
> use kpartx in an initramfs after activating dmraid?

Well, on the one hand we probably do want to eventually think about
disabling the *automatic* detection code in the kernel -- not so much
for dmraid as for SAN use.  But we probably still want e.g. "blockdev
--rereadpt" to be there, even though that's not useful for dm-based
block devs.

As for kpartx, it's a good tool.  I wish it used parted for the actual
partition scanning, since parted already has support for a much wider
variety of partition formats.

In early boot on FC we're using some code I wrote for nash that
basically reads the partition table with libparted and then just makes
linear maps, essentially just like what kpartx does.  (We tend to
implement our own code in nash to do anything needed early in booting,
because in the initrd we want to stay very small.)

-- 
  Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.