On 23/06/2015 09:27, Ran Shalit wrote:
> Hello,
> 
> I am a beginner with Gentoo.
> I have followed the instruction for the installation, and tried to see
> that I really  understand all of them.
> There is the command:
> mount -o bind /dev /mnt/gentoo/dev
> Which I'm not sure I really understand.


It's a bind mount, not a regular mount. A regular mount takes a
volume/block device/whatever and mounts it somewhere.

A bind mount makes a copied mount that is already present on your system
and makes it also available somewhere else.

You do not want /dev/ and /sys mounted twice - they are core system
directories and bad things can happen if you mount them twice then
change one of them. You get sync issues for one thing. Much much easier
to use bind mounts and potential problems just go away

> 2. Another thing I've noticed is that some tutorial add to the above
> also bind to sys folder , and other do not include it.
> mount -o bind /sys /mnt/gentoo/sys

The handbook says to do it, and it makes sense to do it.

Any tutorial that doesn't say it, is wrong/outdated or it's author
doesn't understand.

If the official handbook says to do it, and some other post from Joe
Random Blogger says not to, which one you gonna believe?

> Therefore I would like to ask if it is really required ?

Yes

> Thank you,
> Ran
> 


-- 
Alan McKinnon
alan.mckin...@gmail.com


Reply via email to