Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to figure out how to add "mount --bind /proc/ /chroot/mysql/proc" to /etc/fstab, but how can I to do this?

share|improve this question
up vote 62 down vote accepted

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
share|improve this answer

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

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

/proc /chroot/mysql/proc none defaults,bind 0 0

share|improve this answer
Thanks, thats exactly what I was looking for! – Some Linux Nerd Jul 16 '14 at 23:24

I probably should have thought about this harder. While I don't see how to bind the filesystem, I can turn

mount -t proc ro /chroot/mysql/proc/


proc /chroot/mysql/proc proc ro 1 0
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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