Sorting a Directory in the FAT File System

The venerable fat16 and fat32 file systems are still in widespread use today. Devices such as digital cameras, satellite navigation systems, memory sticks and mp3 players all make use of FAT.

The files in a FAT file system are arranged in a strict order. This can affect the way that some devices behave. For example, some MP3 players will play songs only in the order in which they are arranged on the device, rather than the more convenient alphabetical or alphanumeric order. Music players that use USB memory sticks and in-car USB systems can be affected in the same way. The only way to get the songs to play in a more sensible order is to sort the directory (folder) in which they are located. Continue reading

Fast Installation of AIX on to IBM LPARs

An LPAR, or logical partition, is an IBM virtual machine. LPARs run on a variety of IMB hardware and provide strong isolation between partitions. This article describes a method for quickly building LPARs running AIX on IBM pSeries hardware

AIX can be installed onto an LAPR using the distribution CDs (or rather, since this is a virtual machine, the ISO image files derived from those physical CDs). There are, however, two drawbacks with this:

  • it does not include site specific customizations. If a piece of software like Apache or ssh is required on the LPAR, it must be installed separately – a pain if you have many LPARs to build.
  • it is a slow process. AIX is supplied spread over several CDs. The administrator must swap CDs several times during the installation. This means hanging around and typing commands needed to mount and dismount the cd ISO images on the target LPAR, something that will have to be done several times during the installation.

Continue reading