initramfs support
Bryan Kadzban
bryan at kadzban.is-a-geek.net
Sat Jul 21 09:28:07 MDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Alexander E. Patrakov wrote:
> Isn't /dev/md_$real_name normally a symlink to /dev/md/$real_name?
I was thinking they were either copies or hardlinks. Let me fire up
qemu again and check for sure, though.
...Nope, you're right, they're symlinks. OK, change that code then:
cp -a $array "/dev/md/$real_name"
ln -s "md/$real_name" "/dev/md_$real_name"
:-)
> Please don't remove this device node.
I see from the qemu run that mdadm --assemble --auto also doesn't remove
that node, so yeah, it's probably a good idea to kill that line. (For
some reason I was thinking that mdadm didn't create those devices, but
that's wrong.)
Thanks!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGoiYGS5vET1Wea5wRAw0/AKCxcyP785uPJ62QLnOdPxfs1aiGxgCgpuRU
ckItS8yFTZ4JcwVi3AoguIY=
=HK5a
-----END PGP SIGNATURE-----
More information about the lfs-dev
mailing list