LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Mounting a network drive... (https://www.linuxquestions.org/questions/linux-networking-3/mounting-a-network-drive-494037/)

tobiasw 10-20-2006 01:48 AM

Mounting a network drive...
 
Hi,
im trying to mount a network drive and a normal directory into an existing directory.
I tried with
Code:

mount -o -ro --rbind testmount/ newmount/
but after that the files from newmount are not more visible until I unmount. My question: is there a way to mount a single file into a existing directory? and can I do the same over a network (with Windows and Linux as the far end) ?

Thanks
Tobias

Samotnik 10-20-2006 01:58 AM

When you mount sime filesystem to a directory, their content ALWAYS will be substituted and can't be accessed until unmount.
You can't mount a single file becouse you mount not a files, but a filesystem.

tobiasw 10-20-2006 02:02 AM

Thank you... , but exist there a different way to get this results? for example a link..

Samotnik 10-23-2006 01:30 AM

To make a link you should mount your network filesystem somewhere, then make a soft link with ln -s <link name> <file name> (read man ln).


All times are GMT -5. The time now is 09:04 PM.