Originally Posted by kaydenva
since the original on yahoo has been deleted i removed the link[/edit]
How can I mount the music folder on shared to $Home/Music, and the Videos folder on shared to $Home/Videos? I want to mount the different folders on the partition to different folders in home.
When you speak of mount
you are talking about operations on file systems
. Every "partition" has its own "file system". Every file system has a "type" like NTFS, EXT2, EXT3, EXT4, XFS, and so on.
When you speak of folders
those are a feature implemented by the installed file system. (There was a day when "folders" where an exception, but that was long long ago.)
You must mount
a file system before you may access any of its contents. (Yes, there are ways to read a file system without mounting but that is beyond the scope of this response.) The mount processing associates the top-level folder of the new file system with some named folder that already exists within your already mounted root "/" file system. For example, mounting a flash drive may result in the contents being available at /media/myFlashDrive. NOTE -- When I create a folder for use as a mount point, I put a text file in that folder called _THIS_IS_A_MOUNT_POINT_.txt. When you mount a file system on a folder, the file system hides any current folder contents. This if this file is visible, that mount point is not active.
At this point you may access the contents of your newly mounted drive.
For example, /media/myFlashDrive/Music ... /media/myFlashDrive/Photos ... /media/myFlashDrive/Documents ... and so on.
Respondent, AlucardZero, described the use of links to give your folders named placeholders at some other place in your folder tree heirarchy. This works well. I've used it frequently. You must use caution, however. the link file will continue to exist even if the target file system is not mounted and thus the target folder is no longer available. This can lead to bad behavior on the part of programs that try to access the folder links.