Can I "mount <some_directory> <another_directory>"?
Hello Friends,
I have directory named /media/hda7/Songs which I wish to mount to my /var/www/songs directory. I know how to mount a filesystem to a directory with Code:
mount /dev/hda7 -t ext2 /media/hda7 |
Wouldn't a sym link do the same thing?
|
For simple things, a symlink - like labratmatt said. For more complex things, like overlaying multiple directories into a single mountpoint, ... unionfs
|
You could mount /media/hda7 in multiple locations but you can't mount the directory. But like was said above a symlink will do the same thing.
ln -s /media/hda7 /var/www/songs_directory KC |
Quote:
Quote:
Quote:
Code:
ln -s /media/hda7/Songs /var/www/songs |
All times are GMT -5. The time now is 09:30 AM. |