Permanent mount and bind on CentOS?
Solution 1:
Sure - put the bind mount in your /etc/fstab
. Device is your source directory, mount point is your mount point, and the type is 'bind'.
Something like this:
/var/www/html/ /home/ftp_user/html/ bind rw,bind 0 0
Solution 2:
I found this line in /etc/fstab worked, perhaps more correctly using "none" as the filesystem type instead of "bind":
/var/www/html/ /home/ftp_user/html/ none rw,bind 0 0