User Manual
Copyright © 2000-2011 Bluegiga Technologies Page 30 of 61
6 Using 3rd Party Peripherals
6.1 Using USB, Compact Flash or microSD Memories
Access Device's persistent memory storage can be extended by using a USB storage device like a memory
dongle or a portable hard drive or a Compact Flash memory card. These are also used by the daemon -wpkgd
each time this kind of device is inserted, it is automatically mounted and scanned for management packets,
which are processed and unmounted.
Access Server AX4 supports also microSD card. If one is inserted, it is automatically mounted at boot and is
accessible in /mnt/sdcard
To use the USB storage device or Compact Flash memory card for your own applications, the memory must be
mounted manually by using command:
[root@wrap /]$ mount -t vfat device directory
The device parameter is a path to the USB dongle or Compact Flash memory card filesystem device. For the
first memory device inserted after a reboot, it is if the device is partitioned (which often is the case), or /dev/sda1
if the device has no partition table. If you insert more memory devices at the same time, new device file/dev/sda
names are created: for the second one, for the third one, and so on. If you unmount and/dev/sdb1 /dev/sdc1
remove the first memory device before inserting the second one, new device file names are not created.
Always remember to unmount the memory dongle or memory card with command:
[root@wrap /]$ umount directory
If you have inserted both a USB memory dongle and a Compact Flash memory card before powering up Access Server,
Compact Flash card is found first (typically getting device file name ) and the USB memory device is found next (/dev/sda1
)./dev/sdb1
The filesystem in USB dongle can get corrupted if you have a power failure while you are writing data to it. A
utility called can fix the problem. Therefore, if mount fails, you should run and try mountingfsck.vfat fsck.vfat
again:
[root@wrap /]$ fsck.vfat -a device
There is not enough memory to run fsck.vfat on storage devices bigger than 8GB.