[arch-general] dmraid wiki wrong on chroot proceedure??

Damjan Georgievski gdamjan at gmail.com
Sun Jan 17 12:01:26 EST 2010


>        I was helping someone on installing grub and I noticed the following on:
>
> http://wiki.archlinux.org/index.php/Installing_with_Fake_RAID
>
> under "Install Grub" that does not look correct:
>
> # mount -o bind /dev /mnt/dev
> # mount -t proc none /mnt/proc
> # mount -t sysfs none /mnt/sys
> # chroot /mnt /bin/bash
>
>        That should be:
>
> # mount -o bind /dev /mnt/dev
> # mount -o bind /proc /mnt/proc
> # mount -o bind /sys /mnt/sys
> # chroot /mnt /bin/bash

The 2 scernarios above are identical.
Actually proc and sysfs are both "singleton" virtual filesystems in
the kernel so, no matter if you mount them again or bind-mount them
you get the same thing.


-- 
damjan


More information about the arch-general mailing list