Re: dmraid wiki wrong on chroot proceedure??

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



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux