Changelog 0.0.1 - Initial Version 0.0.2 - Added %g substitution for generic device 0.0.3 - Added %g substitution for original device - Added mapping support for SCSI cdroms - Added %D substitition for device prefix (sd, scd) - Fetch adapter hostname and added %H substitution - Count partitions using /proc/partitions 0.0.4 - Added %R substitution for revision - Added rules file for defining device map rules - Saves list of created links and removes them before creating new links - Added background scanning for changes in partitions and registered scsi devices - Change command line to use new rules format 0.0.5 - Added %B substitution for PCI device information - Fixed a bug from changes to dynamic mem allocation 0.0.6 - Fixed a buffer overrun in get_scsi_dev_info - Fix for kernel headers that don't define SCSI_IOCTL_GET_PCI 0.0.7 - Added fetching of WWPN, WWNN, loop id and port id from FC devices with the Qlogic qla2x00 FC driver - Added 4 new substitution codes w,W,I,L for FC information - Print scsi info now won't show empty attributes - Moved hostname fetching into get_scsi_dev_info 0.0.8 - Space stripping and non alphanumeric character stripping is now done at time of making links. Rules with device names that had spaces or special characters will need to be changed - String attributes are now quoted again in print_scsi_info - Option to disable saving state to /var/state/mapscsi/devmap - Option to disable previous link removal - Background mode now doesn't depend on saving state to disk - Made qlogic_free NULL qlogic linked list head to avoid free memory reference in background mode - Added signal handler for clean exit on SIGTERM 0.0.9 - Fixed a NULL pointer dereference that occured if not all sg devices could be mapped 0.0.10 - Moved generic SCSI functions into seperate file to make code sharing with saftemon easier. 0.0.11 - Fixed typo bug with tape devices. Should now scan tape devices by properly forming numeric device names ie. /dev/st0