LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools Search this Thread
Old 05-24-2007, 05:40 AM   #1
muff
Member
 
Registered: Jan 2003
Distribution: Gentoo / Ubuntu
Posts: 41
Thanked: 0
Share Device via NFS


[Log in to get rid of this advertisement]
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
muff is offline  
Tag This Post , ,
Reply With Quote
Old 05-24-2007, 09:27 AM   #2
fayez
Member
 
Registered: Aug 2004
Location: Amman
Distribution: Red Hat
Posts: 48
Thanked: 0
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.
fayez is offline     Reply With Quote
Old 05-24-2007, 09:42 AM   #3
muff
Member
 
Registered: Jan 2003
Distribution: Gentoo / Ubuntu
Posts: 41
Thanked: 0

Original Poster
I figured as much.

No - the usb device isn't storage, it is anything else really... scanner, pda, phone, whatever.
muff is offline     Reply With Quote
Old 05-24-2007, 10:20 AM   #4
fayez
Member
 
Registered: Aug 2004
Location: Amman
Distribution: Red Hat
Posts: 48
Thanked: 0
OK, the answer still NO, any way can you do it with MAC or Windows??????????
fayez is offline     Reply With Quote
Old 05-24-2007, 11:08 AM   #5
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 273
Thanked: 0
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 11:09 AM..
kummiliim is offline     Reply With Quote
Old 05-24-2007, 12:40 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,043
Thanked: 116
You could VNC into the remote machine and run the device that way.
lazlow is offline     Reply With Quote

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


All times are GMT -5. The time now is 06:30 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.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration