I'm trying to add mount --bind /proc/ /chroot/mysql/proc to /etc/fstab. How can I do this?

  • See the third paragraph of the section "The third field" in man fstab: "An entry swap denotes a file or partition to be used for swapping, cf. swapon(8). An entry ignore causes the line to be ignored. This is useful to show disk partitions which are currently unused. An entry none is useful for bind or move mounts." See also the previous section in man fstab, "The second field" that also mentions the use of "none". Aug 7, 2016 at 5:30
  • In case anyone's wondering, it looks like you can no longer do the same thing on Mac OS X: apple.stackexchange.com/questions/197029/… Aug 28, 2019 at 20:28

2 Answers 2


The mount command accepts --bind or -o bind.

In the /etc/fstab file, you can use the following line:

/source /destination none defaults,bind 0 0
  • 8
    Are you sure that the defaults,bind is necessary? I'm almost sure that bind would be enough. Dec 31, 2020 at 13:26
  • just in case of situations on boot, i like to add nofail,x-systemd.device-timeout=2 to the options....
    – Reishin
    Dec 13, 2021 at 2:43
  • @Reishin So, it would be like this? : /source /destination none defaults,bind,nofail,x-systemd.device-timeout=2 0 0 ? Apr 13 at 21:25

If I had a volume mounted at /media/3tb-vol1/Private/, and I wanted to bind it to /srv/Private I have a /etc/fstab like this.

/media/3tb-vol1/Private/ /srv/Private        none    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.