Damn Small Linux (DSL) Forums
Welcome, Guest. Please login or register.
September 27, 2023, 05:35:23 AM

Login with username, password and session length
News
The new DSL forums are now open.
Stats
11609 Posts in 311 Topics by 291 Members
Latest Member: mik3ca
Search:     Advanced search
* Home Help Search Login Register
Get The Official Damn Small Linux Book. Great VPS hosting provided by Tektonic

+  Damn Small Linux (DSL) Forums
|-+  Damn Small Linux
| |-+  DSL Ideas and Suggestions
| | |-+  DSL version to enable use of laptop harddive/partition via USB to another device
« previous next »
Pages: [1] Print
Author Topic: DSL version to enable use of laptop harddive/partition via USB to another device  (Read 12199 times)
Strangers
Newbie
*
Posts: 1


View Profile
« on: January 31, 2015, 05:57:00 PM »

hello all ,
 i was searching forsomething and didnt really find it .
here is what i have in mind ..
i would like to start a laptop with cdrom ( booting into dsl )
and then mount the drive on sda available via usb .. so the usb acts as a host
to anything that can use an external flash/usb drive etc


would anyone be interested in getting a spin going ?

i dont know how challenging this might be ?

thanx all
Logged
CNK
Sr. Member
****
Posts: 269


View Profile
« Reply #1 on: January 31, 2015, 10:21:58 PM »

So you want the laptop's HDD to look like a USB memory device to anything that plugs into its USB port via a cable?

Well I can't say I've heard of anyone doing as you suggest. You'd need to have some software on the laptop send all the USB ID information that USB devices identify themselves as. It would probably be best for it to identify itself as an external USB HDD, so that the accessing device can accept that it behaves like a HDD and probably doesn't have a FAT file system.

You would have to have the "USB HDD Emulator" software on the laptop access the HDD data directly - like formatting and partitioning programs do. Of course you certainly couldn't have the drive mounted by the laptop at the same time as it was mounted as a USB device by another machine, two systems managing the same file system would conflict horribly (unless there's some file system format that allows for it).

You would have to use a USB crossover cable as well, these are fairly easy to buy.

So it's most likely possible, but I don't know of any software to do the job for you (I haven't looked though, so you should do some decent searching). Certainly if there's any way to do the same job over a network using FTP, a remote file system format, or a USB file transfer system, it would be far simpler than this.
Logged
fatmac
Newbie
*
Posts: 32



View Profile
« Reply #2 on: February 03, 2015, 05:46:51 PM »

Not sure quite what you mean, but if you want to access files on the laptop from other machines, i.e. creating a server, best to use cat5 crossover cable, with a directory on the laptop being exported, via ftp.
Logged

Linux since 1999
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz (http://rute.2038bug.com/index.html.gz)
A good Debian read :- http://debian-handbook.info/get/now/ (http://debian-handbook.info/get/now/)
Pages: [1] Print 
« previous next »
Jump to:  

Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Mercury design by Bloc