Mount a local folder
Hi there,
I would like to mount a local folder. Example : Home directories are in /mnt/hdx/homedir I would like to type mount /mnt/hdx/homedir /home No idea how to do that. |
Quote:
Quote:
Create a link from /home to /mnt/hdx/homedir: cd / ln -s /mnt/hdx/homedir /home 2nd way (I use this one): from man mount: Quote:
mkdir home mount -rbind /mnt/hdx/homedir home |
Thank you !
It works like a charm. |
The fstab entry :
/mnt/hdx/home /home none bind |
Check for noexec on mount point
If you use software like PlayOnLinux, this must execute files in your home directory. If the mount point where you move your home directory is user mountable, then the noexec option will be set and you wine installation will stop working.
To check this type mount find the drive where you are linking to your new home directory ensure that it does not show "noexec" as one of the mount options If it does, edit fstab to add the exec option or to remove the user option. Security settings in Linux don't allow files to be executed from user mountable drives. Good luck. |
All times are GMT -5. The time now is 04:57 AM. |