I'm trying to add
mount --bind /proc/ /chroot/mysql/proc to
/etc/fstab. How can I do this?
mount command accepts
/etc/fstab file, you can use the following line:
/proc /chroot/mysql/proc none defaults,bind 0 0
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
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