USB Pen Drives: Large, Portable Storage in a Tiny Package: Page 3

Posted December 22, 2003

Carla Schroder

Carla Schroder

(Page 3 of 3)

The Hard Way

If hotplugging is not enabled, which is very sad, you can add it. There are several steps to follow. Before leaping in and doing any of these things, check the home page of your distribution or the documentation for your installation disks to see if there is an easy way to add hotplug support. It's a good thing to have, not only for USB devices, but for Cardbus, Firewire, docking stations — any device that can report state changes.

If after all that, there’s still no easy way to add it:

1. Make sure you have an up-to-date kernel. See Red Hat's manuals for the online versions of the Red Hat manuals; kernel upgrading and configuration is in the "Customization Guide."

Debian users have two excellent guides available to them:
Creating Custom Kernels With Debian's Kernel-Package System
Compiling Kernels the Debian Way

2. Configure all the kernel USB bits as modular. There really aren't any good reasons to compile them statically — that defeats the whole notion of hotplugging. The following are needed:

CONFIG_USB_STORAGE, usb-storage.o

3. Visit Linux Hotplugging to get the hotplug scripts. You may also need to update usbutils and pciutils. You’ll also want to consult the definitive resource for USB on Linux, Linux USB.

The Bottom Line

I support mixed Windows and Linux networks, and this little gadget has made a huge difference for me. It's much faster than a CD, and data transfers are so easy — I don't cuss nearly as much as I used to.

One surprising use is at "Big Company," where I do some occasional work. Engineers who use the big color plotters now use their own pen drives to transfer the files directly to the printer servers, instead of over the network. They can monitor and troubleshoot the print job locally, plus they like to poach on other department's plotters so it doesn't count against their own quotas. This probably doesn't count as a win in some people's books, but it sure does keep them happy and entertained.


mkfs (8)
fdisk (8)
Linux USB
Linux Hotplugging

» See All Articles by Columnist Carla Schroder

Page 3 of 3

Previous Page
1 2 3

0 Comments (click to add your comment)
Comment and Contribute


(Maximum characters: 1200). You have characters left.