Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If this is the wrong community to ask this type of question, please redirect me to a proper place.

I have an /archive partition on my hard drive containing all my personal files, projects, papers, etc. which I would like to present as a "flash drive" via the USB port of my computer, so that additional periphery that I plug into this USB port thinks that a USB stick has been plugged into it [the periphery].

Is this possible? If yes, how?

Solutions involving hints towards new code are of course welcome, if no complete software solution exists.

(I am using Ubuntu 12.04)

EDIT: I found this thread,

Simulate a USB flash drive with PC

giving a negative to the above question. So, are there USB "on the go" USB sticks with a buffer?

share|improve this question

migrated from stackoverflow.com Mar 4 '13 at 9:48

This question came from our site for professional and enthusiast programmers.

    
Your question is not clear. Why do you want to treat a physical hdd as a removal drive, when when using linux, its already possible to deattach a parition on a physical drive. – Ramhound Mar 4 '13 at 12:35

So you want the Hard Drive partition to be exposed via a USB port so that you can effectively plug it in to another computer or TV?

As the other question suggested, I don't think this is easily done directly as you need a "USB Host" interface to do this whereas the PC USB ports are a consumer rather than a host.

However, there are two possible tricks you can do.

Firstly, you might try an "Easy Transfer" cable, sometimes called a "direct transfer" cable. These have some basic circuitry for transfering files between 2 computers. They may or may not work very effectively. Personally I've never tried one.

Secondly, you could use something like an EyeFi card which connects from USB to Wi-Fi rather than USB to USB.

Of course, if both devices has network cards, then a network cable or a shared Wi-Fi connection will always be better and more reliable.

share|improve this answer
    
While you are basically trying to say the right thing your terminology is wrong. The PC provides the USB host as it has control over the bus. A USB host is something you can connect other USB device to. – André Stannek Mar 4 '13 at 22:36
    
Actually, there is a terminology clash at work. If you look at mobile devices, "host mode" refers to making an external USB device (storage) available to the device - the reverse of the normal for mobile devices. On a PC, the USB Host is controller for the USB connections. In this instance, the OP is needing a PC to act as a USB host to another device. – Julian Knight Mar 4 '13 at 22:41

You must log in to answer this question.