How to make mount --bind persistant
I have a set of mount --bind commands like:
mount --bind /home/ftp/common /home/ftp/user1/common mount --bind /home/ftp/common /home/ftp/user2/common mount --bind /home/ftp/common /home/ftp/user3/common mount --bind /home/ftp/common /home/ftp/user4/common mount --bind /home/ftp/common /home/ftp/user5/common mount --bind /home/ftp/common /home/ftp/user6/common mount --bind /home/ftp/common /home/ftp/user7/common mount --bind /home/ftp/common /home/ftp/user8/common How can I make these persistant across reboots? Thanks! |
/etc/fstab
Try something like this in your /etc/fstab (assuming your file system is ext3):
/home/ftp/common /home/ftp/user1/common ext3 bind 0 0 |
All times are GMT -5. The time now is 01:59 AM. |