LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-20-2006, 01:48 AM   #1
tobiasw
Member
 
Registered: Oct 2006
Distribution: Fedora Core
Posts: 60

Rep: Reputation: 15
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
 
Old 10-20-2006, 01:58 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
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.
 
Old 10-20-2006, 02:02 AM   #3
tobiasw
Member
 
Registered: Oct 2006
Distribution: Fedora Core
Posts: 60

Original Poster
Rep: Reputation: 15
Thank you... , but exist there a different way to get this results? for example a link..
 
Old 10-23-2006, 01:30 AM   #4
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a network Drive ruslombia Linux - Networking 1 08-28-2005 04:17 AM
Mounting a network drive DanW85 Linux - Newbie 3 03-28-2005 04:23 PM
mounting network drive viper52b Linux - Networking 2 03-10-2004 12:59 PM
mounting network drive Canadian_2k2 Linux - Networking 4 01-04-2004 11:58 PM
mounting a network drive... Sonny Linux - Security 6 01-24-2002 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration