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

David C. Rankin drankinatty at suddenlinkmail.com
Tue Jan 19 12:33:30 EST 2010


On 01/17/2010 11:01 AM, Damjan Georgievski wrote:
>>        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.
> 
> 

Thanks Damjan, Redshift. I was just hung up on the 'sysfs' instead of 'sys'
nomenclature. Clear now :p

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


More information about the arch-general mailing list