I'm on an Ubuntu server with fstab like this:

/dev/xvds /home/ubuntu/stuff auto  defaults,nofail,nobootwait 0 2
/home/ubuntu/stuff /home/bob/things auto  defaults,nofail,nobootwait,bind 0 2

I thought that fstab was for mounting devices to folders. What is the second entry? It seems to mount a folder to a folder, more like a symlink.

1 Answer 1


Yes you are right. Fstab record

/home/ubuntu/stuff /home/bob/things auto  defaults,nofail,nobootwait,bind 0 2

is analogous to the command issued from your shell:

mount --bind /home/ubuntu/stuff /home/bob/things

It means that you can access ubuntu/staff content from bob/things folder.

You can read about differences between symbolic link and bind mount here: https://askubuntu.com/questions/557733/ln-s-vs-mount-bind


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.