Mount storage partition folders to home folders
I have a storage partition with four folders on it named "All (universal)", "Windows", "Mac", and "Linux". In my "All (universal)" folder I have three folders, labeled "Pictures", "Documents" and "Videos". In my "Linux" folder I have a folder labeled "Downloads". I would like to mount these folders to my Pictures, Documents, Videos and Downloads folders. I wrote an /etc/init.d script to do this on boot but for some reason they end up mounted as read-only. Here is the script:
Code:
#! /bin/sh |
Quote:
Greetings If the stoarge disk is in NTFS then this may be a umask 022 problem that would give root full access. I initially mount the whole NTFS partition or drive in fstab then mount the binds as you did, and that helped me when I included the umask in the fstab line such as this for an example. /dev/sdc1 /FreeAgent ntfs-3g defaults,umask=002,locale=en_US.utf8 0 0 I also notice that you are trying to change ownership to a user. File permissions are not as manageable if they are NTFS, a umask of 000 would enable basically a chmod 777. I am still learning the jedi arts on a daily basis, and perhaps a master would have a better solution for you with your given information. I hope this helps you. |
It is a FAT32 partition.
How do I set it up with fstab? |
Quote:
/dev/sdc1 /FreeAgent vfat users,exec,umask=0 0 is an example I have seen for fat partitions. Although I do not use them anymore I cannot verify this will work the way you intended but it should. Let me know if this works please so I can add it to my list of solutions. Best regards. |
It is not working. Now the folders aren't getting mounted at all. This is my fstab:
Code:
# /etc/fstab: static file system information. Code:
#! /bin/sh |
All times are GMT -5. The time now is 01:59 AM. |