understanding mount -o bind
- by Ionut
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.