LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-28-2010, 05:46 AM   #1
potuz
Member
 
Registered: Jul 2009
Distribution: Gentoo, CLFS.
Posts: 40

Rep: Reputation: 16
[SOLVED] can I export a laptop's partition as an external HD?


Hello list. I'm wandering if it is possible to set up a partition on a laptop's HD so that if I use a USB cable between it and another device, the partition would appear as an external HD on the device.

Old Mac laptops used to have the option at boot-time of sharing the hardrive via firewire (they might still have it, have no clue) I'm looking for something similar, but on a laptop with Linux running on a different partition.

Cheers,

R.

Last edited by potuz; 10-29-2010 at 03:59 AM. Reason: marked as solved
 
Old 10-28-2010, 05:51 AM   #2
T0sh1r0
Member
 
Registered: Oct 2010
Location: Liège, Belgium
Distribution: Debian & co
Posts: 51
Blog Entries: 1

Rep: Reputation: 9
I don't know if this is exactly you are looking for but NFS (Network File System) or Samba might be interesting for you...
 
Old 10-28-2010, 05:53 AM   #3
feinbein
Member
 
Registered: Jan 2010
Location: Norway
Posts: 76

Rep: Reputation: 12
Afaik you will not be able to do that via USB. You could use protocols like AOE, nbd or iscsi to export it over the network to the other device.
Really depends on the other devices' OS though, e.g. if it has an implementation of the a.m. protocols. Iscsi at least is very common on many operating systems.
 
Old 10-28-2010, 06:36 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,107

Rep: Reputation: 2196Reputation: 2196Reputation: 2196Reputation: 2196Reputation: 2196Reputation: 2196Reputation: 2196Reputation: 2196Reputation: 2196Reputation: 2196Reputation: 2196
In a nutshell, USB hardware works differently then Firewire. In simple terms Firewire is peer to peer where as you can connect any device together and communicate between them but USB requires a host controller that talks to a peripheral device ( i.e master/slave). This means you can not directly connect to computers together via a USB cable. You would also short out the 5V power but that is another issue. There are special USB cables (Data transfer) but these create a network between two computers which is not what you are asking about. As stated there are many ways to share data.
 
Old 10-29-2010, 03:58 AM   #5
potuz
Member
 
Registered: Jul 2009
Distribution: Gentoo, CLFS.
Posts: 40

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by michaelk View Post
In a nutshell, USB hardware works differently then Firewire. In simple terms Firewire is peer to peer where as you can connect any device together and communicate between them but USB requires a host controller that talks to a peripheral device ( i.e master/slave).
Thanks, that's what I was asking: whether I could emulate the host controller of a flash drive under linux. I didn't see any reason not to, unless there was some hardware issue with the standard USB port/cable:
Quote:
...You would also short out the 5V power but that is another issue...
That's what I was hoping wouldn't happen
Thanks for the reply, I guess I'll have to wait for my router until I can set up a network.

Cheers,

R.
 
  


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
Configure External Monitor with the laptop's display broken? materiayenergia Linux - Laptop and Netbook 1 09-10-2010 09:20 PM
LAPTOP's connected to external displays do not work as expected saytac Ubuntu 3 12-08-2009 07:36 PM
Cannot export mail to external hdd smcclurken Linux - Newbie 2 04-09-2009 12:26 AM
howto forcing ld to export external symbol? kkk139 Programming 1 07-17-2007 12:10 AM
Installing Fedora 4 on an laptop's external USB2 hard drive? Raveolution Fedora 13 12-23-2005 02:55 AM

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

All times are GMT -5. The time now is 01:39 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