This document describes how you can use the Aiptek PenDisk (and lots of other similar flash drives) on a GNU/Linux system.
The Aiptek PenDisk is a small pen-sized USB device that can store (in my case) 64 MB of digital data.
It's sort of a portable harddisk you can use for data storage as well as data transfer, which fits on your keychain or in your pocket.
There is a driver for the PenDisk (and any other USB mass storage devices, for that matter) in the recent 2.4.x kernels, so it works quite nicely on GNU/Linux systems.
Here's a list of features of the PenDisk:
There are lots of things you can do with the PenDisk:
Here's the technical specification of the PenDisk:
Here's a short description of how you can use the PenDisk with GNU/Linux.
Your Kernel should be compiled with the following options enabled:
<M> Support for USB
[*] Preliminary USB device filesystem
<M> OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support
<M> USB Mass Storage support
Depending on your USB controller, you might have to replace the OHCI support option with the UHCI support option.
<M> DOS FAT fs support
<M> MSDOS fs support
<M> VFAT (Windows-95) fs support
<M> Kernel automounter support
The default filesystem on the PenDisk is usually vfat. The USB mass storage devices are treated as SCSI devices by the Kernel, hence you must mount one of the /dev/sd* devices, usually /dev/sda1.
mount -t vfat /dev/sda1 /mntcp, mv, rm etc. commands to edit the contents of the PenDisk.
umount /mntYou might want the PenDisk to be automatically mounted whenever you want to access its data. This can be done using the kernel automounter.
If you haven't already compiled your kernel with automounter support, do this now:
<M> Kernel automounter support
Next, you need to install the autofs package (most distributions have this package included by default).
Now you have to create/edit the following two files:
/mnt/removable /etc/auto.removable --timeout 10
pendisk -fstype=vfat,sync,umask=000 :/dev/sda1
That's it. If you cd into /mnt/removable and type cd pendisk, the PenDisk will automatically be mounted in the directory /mnt/removable/pendisk, and you can access all the files therein. After 10 seconds of no usage (--timeout 10), the PenDisk will be unmounted automatically.
You can format the PenDisk and create a filesystem of your choice on it, e.g. vfat (usually the default) or ext2 or anything else you can imagine.
mke2fs /dev/sda1mkdosfs -F 32 /dev/sda1Before unplugging the PenDisk you should wait until the LED light is off, otherwise you might suffer data loss.
Here are some links to other related articles.
Recent comments
20 weeks 5 days ago
46 weeks 6 days ago
1 year 2 weeks ago
1 year 2 weeks ago
1 year 2 weeks ago