Re: RFC - device names and mdadm with some reference to udev.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 27, 2008 at 17:10, Andre Noll <maan@xxxxxxxxxxxxxxx> wrote:
> On 11:13, Doug Ledford wrote:
>
>> > I would really like to have a clear separation of competencies.
>> > Ideally, mdadm never creates any devices but leaves it all to udev,
>> > and all configuration about alternate names ("symlinks") is done in
>> > the udev rules file.
>>
>> This would then require that we have a working udev in our initrd
>> images.  It would greatly increase the complexity of early booting as a
>> result.
>
> Given that the initramfs usually contains busybox, one can also using
> mdev. It's much simpler than udev and it's good enough if the only
> thing you want to do is mounting the root partition that resides on
> a software raid array.

Depends on your definition of "usual". Debian, Fedora, openSUSE,
Ubuntu, Gentoo (as far as Gentoo counts as a distro with a default
setup) none of them uses any busybox/mdev setup, and all use udev in
initramfs.

It's very simple to setup and follows the same logic as udev running
in the rootfs, There is absolutely no "increase of complexity"
involved if you use udev in the real root anyway, you just copy the
binaries and the rules, and on bootup you wait for /dev/root to show
up, mount it and start /sbin/init. Custom busybox stuff does not
support any non-trivial feature a "general purpose" distro needs to
support today.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux