Re: Partitioned raid and major number
From: Luca Berra <hidden>
Date: 2004-02-28 07:27:38
On Sat, Feb 28, 2004 at 02:09:16AM +0100, Miquel van Smoorenburg wrote:
Hmm. With a dynamic major, the system might fail at checking the root file system at boot. At that time, /dev is still read-only, and /dev/md/d0p1 might not be the correct device yet. So either mdp needs its own partition number, or we need a /dev/root device that's an alias for the current root (like /dev/console). Fortunately, that's very easy. Which makes me wonder why this hasn't been done before .. what am I overlooking ? Patch below uses 4,1 which is just arbitrary, ofcourse. Comments ?
I was missing this feature from linux, and i don't know why it was not
done before...
Having /dev/root also solves the similar problem of ppl whose root is on a
device-mapper like myself. (dm has dynamic majors)
Regards,
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \