LinuxQuestions.org
Visit Jeremy's Blog.
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 05-24-2007, 04:40 AM   #1
muff
Member
 
Registered: Jan 2003
Distribution: Gentoo / Arch / OpenSuse / Ubuntu / LMDE / Centos
Posts: 44

Rep: Reputation: 15
Share Device via NFS


Hello,

So given that "everything is a file" in linux, and nfs is a networked file system...

Does it then follow that I can create an export of /dev/usbdev1.9_ep00 in my nfs exports file, and then mount that export under the /dev tree of another linux box, and so share the usb device over IP?

I suspect quite strongly that the answer is "no", but what is missing here principally?

Thanks,

Paul
 
Old 05-24-2007, 08:27 AM   #2
fayez
Member
 
Registered: Aug 2004
Location: Amman
Distribution: Red Hat
Posts: 50

Rep: Reputation: 15
Ya the answer is NO, because the NFS service is for sharing files and folders, or just a file system.

but the device file is a special file used by the system, after it recognize the device using its driver.

So even if you could share this file, it will not work at the other side, but if it is a usb storage, mount it first where you connected it, then try to share it across the network using NFS or SAMBA services.
 
Old 05-24-2007, 08:42 AM   #3
muff
Member
 
Registered: Jan 2003
Distribution: Gentoo / Arch / OpenSuse / Ubuntu / LMDE / Centos
Posts: 44

Original Poster
Rep: Reputation: 15
I figured as much.

No - the usb device isn't storage, it is anything else really... scanner, pda, phone, whatever.
 
Old 05-24-2007, 09:20 AM   #4
fayez
Member
 
Registered: Aug 2004
Location: Amman
Distribution: Red Hat
Posts: 50

Rep: Reputation: 15
OK, the answer still NO, any way can you do it with MAC or Windows??????????
 
Old 05-24-2007, 10:08 AM   #5
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Rep: Reputation: 30
Oh come on, people, be creative. You could probably use ssh for example to direct input to the computer with the device and get back the output from the device. I'm not sure if it would work but it sounds fun.

There are probably other and more simple ways.

Last edited by kummiliim; 05-24-2007 at 10:09 AM.
 
Old 05-24-2007, 11:40 AM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
You could VNC into the remote machine and run the device that way.
 
Old 06-30-2011, 09:11 AM   #7
NicoLarve
LQ Newbie
 
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by muff View Post
Hello,

So given that "everything is a file" in linux, and nfs is a networked file system...

Does it then follow that I can create an export of /dev/usbdev1.9_ep00 in my nfs exports file, and then mount that export under the /dev tree of another linux box, and so share the usb device over IP?

I suspect quite strongly that the answer is "no", but what is missing here principally?
As far as I know, the only operating system capable of sharing *any* devices across the network is Plan 9 from Bell Labs.
 
  


Reply

Tags
device, nfs, share


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
Can't write to a NFS share netboy_541 Linux - Server 1 05-23-2007 05:37 AM
mounting nfs share jon23d Slackware 4 06-25-2006 03:19 AM
NFS share not working ahmedb72 Red Hat 3 02-22-2006 02:38 AM
can't share directory using NFS hedpe Linux - Networking 3 09-13-2005 08:16 PM
Need to configure a NFS share... Thaidog Linux - Newbie 1 06-01-2005 09:39 AM


All times are GMT -5. The time now is 03:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration