Article 5GEW2 mount bind and fstab

mount bind and fstab

by
edwardsmarkf
from LinuxQuestions.org on (#5GEW2)
hello -

in order to get past an apache issue, i was instructed to execute the following command:

Quote:
mount --bind /home /var/www ;
this certainly fixed my problem. however, the results of this command does not survive a reboot, and therefore it needs to go into my /etc/fstab file, so i have been told.

the contents of my fstab file currently look like this:

Code:UUID=158XXXXXb7 / xfs seclabel,grpquota,rw,relatime,usrquota,quota,inode64,attr2 0 0
UUID=3cbXXXXXXa8 /boot ext4 defaults 1 2
UUID=c6XXXXX414 swap swap defaults 0 0
so i tried adding the following line:

Code:/home /var/www none bindthen ran the following command:

Quote:
mount --fake --all --verbose ;
should i see the new line i added in the mount-fake command? i feel as if i am missing some big piece to the puzzle.

thank you very much.latest?d=yIl2AUoC8zA latest?i=nSJ-satHgW0:z1vONbKszvU:F7zBnMy latest?i=nSJ-satHgW0:z1vONbKszvU:V_sGLiP latest?d=qj6IDK7rITs latest?i=nSJ-satHgW0:z1vONbKszvU:gIN9vFwnSJ-satHgW0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments