Results 1 to 6 of 6
Hi,
I have mounted 3 NFS partitions on my client. Now I want to have the files of these 3 partitions listed in one directory on my client to ease ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-19-2003 #1Just Joined!
- Join Date
- Dec 2003
- Posts
- 2
How to link content of multiple directories into 1 dir?
Hi,
I have mounted 3 NFS partitions on my client. Now I want to have the files of these 3 partitions listed in one directory on my client to ease browsing. How could I do that? Maybe with linking or is it possible to mount the volumes into the same directory somehow?
Please give me some advice,
Thank you.
- 12-19-2003 #2
The easiest way to do that would be to use symbolic links. AFAIK you can't mount multiple devices in the same directory.
Though you would have to have a different dir for each, they would still be all in the same dir.Code:ln -s /mounted_dir /common_mount_point/mount1
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 12-19-2003 #3Just Joined!
- Join Date
- Dec 2003
- Posts
- 2
linking
Thanks for your request.
But with this command I am just able to create 3 links to 3 directories. But I need some type of 1 link to three directories or any other solution.
Do you know how to do that?
- 12-19-2003 #4
Like I said, AFAIK there's no way to do that. But if anyone else knows otherwise, please inform us.
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 12-19-2003 #5Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
how about creating a new directory, placing your mounts inside that, then the client accesses the new directory... eg
/newdir/mount1/
/newdir/mount2/
/newdir/mount3/
but the client mounts /newdir/, then sees the 3 mounted directories.
Thats not particularly clear, but i cannot think of another way to explain it
- 12-20-2003 #6
I thought that was what I said...but maybe neither of us make sense.

What he's wanting to, though, is be like:
Code:mkdir /mnt/stuff ln -s /my_stuff /mnt/stuff ln -s /your_stuff /mnt/stuff ln -s /his_stuff /mnt/stuff
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy


Reply With Quote
