Mount a local folder
I would like to mount a local folder.
Home directories are in /mnt/hdx/homedir
I would like to type mount /mnt/hdx/homedir /home
No idea how to do that.
Create a link from /home to /mnt/hdx/homedir:
ln -s /mnt/hdx/homedir /home
2nd way (I use this one):
from man mount:
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.
|All times are GMT -5. The time now is 06:03 PM.|