understanding mount -o bind
Posted
by
Ionut
on Server Fault
See other posts from Server Fault
or by Ionut
Published on 2012-12-17T16:49:33Z
Indexed on
2012/12/17
17:04 UTC
Read the original article
Hit count: 279
linux
Few questions after the following commands:
mount -o bind /new_disk/home/user/ /home/user/
mount -o bind --no-mtab /new_disk/home/user/ /home/user/
What is the difference between the two commands other than " Mount without writing in /etc/mtab. This is necessary for example when /etc is on a read-only filesystem."
What is the difference between mount -o bind and mount --bind ...if there are
Let's suppose i don't know there is a partition mounted using -o bind --no-mtab...where can I find if there is any mound point with bind ? The only way i can detect this is grep user /proc/mounts but in that line there is no info abut bind.
Thank you.
© Server Fault or respective owner