LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2007, 04:26 PM   #1
zen0n
LQ Newbie
 
Registered: Jul 2004
Location: Winnipeg
Distribution: debian
Posts: 22

Rep: Reputation: 15
is it possible to export a filesystem as a usb device?


I just picked up a satellite receiver that lets you plug in a usb external hard drive for pvr functionality. What I would like to do is be able to do is have my pc next to the tv "act" as a usb device and have a filesystem on that box be accessible on the pvr.

So basically the linux box would act as a giant usb drive.

Anyone ever tried anything like that?

zen0n
 
Old 10-26-2007, 04:57 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,710

Rep: Reputation: 106Reputation: 106
http://www.linuxquestions.org/questi...b-disk-586043/
 
Old 10-31-2007, 04:05 PM   #3
zen0n
LQ Newbie
 
Registered: Jul 2004
Location: Winnipeg
Distribution: debian
Posts: 22

Original Poster
Rep: Reputation: 15
Well that didn't come up on my initial search, but it looks like the original poster is trying to get to the same functionality as I am.

The usbnet module looks great for setting up usb connections between 2 machines. But what I need is to be able to have the "server" export the filesystem in such a way that the "client" system thinks it's actually an external usb enclosure, not a IP-over-usb connection.

zen0n
 
Old 10-31-2007, 08:30 PM   #4
superjer
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 1
If you really want your PC to act as a usb device, it needs a hardware adapter. The USB host and USB client hardware are different. You can buy a PCI card USB device controller (not host controller!). It will have an external USB-B port, so it can connect as a client to your pvr.

As for programming your controller to act like a portable storage device, I can't really help.
 
Old 11-01-2007, 11:46 AM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
superjer, thank you for highlighting the distinction between the two personality modes in the USB world. Using your reply, I was able to Google search 'PCI card USB "device controller"', and came up with the link http://www.linux-usb.org/gadget/, which explains in some detail what is required to accomplish the original poster's goal.
I find this whole idea quite intriguing, personally.
--- rod.
 
  


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
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 08:32 AM
Confusing USB Filesystem Problem (Can't Wipe Ext3 Filesystem) dkaplowitz Linux - Hardware 3 04-14-2007 07:30 PM
USB device as root filesystem greeklegend Linux - Hardware 5 12-17-2006 02:50 AM
NFS, trying to export filesystem consisting of different harddrive. Possible? eruantalon Linux - Networking 7 07-01-2005 09:43 PM
Export filesystem on Mandrake 9.1 explorer Mandriva 0 04-13-2004 10:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:13 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration