sdparm is a command line utility designed to get and set SCSI device parameters (cf hdparm for ATA disks). Apart from SCSI devices (e.g. disks, tapes and enclosures) sdparm can be used on any device that uses a SCSI command set. Virtually all CD/DVD drives use the SCSI MMC set irrespective of the transport. sdparm also can list VPD pages including the device identification page. sdparm can be used in both the lk 2.4 and 2.6 series.
The major addition in version 0.94 is a set of commands mainly for devices with removable media: eject, load, ready, start, stop and unlock. For more information and downloads see: http://www.torque.net/sg/sdparm.html ChangeLog for sdparm-0.94 [20050728] - add CD/DVD (MM) capabilities and mechanical status mode page - add Background medium scan (SBC-2 pending) mode subpage - add '--command=<cmd>' option with these <cmd>s: ready, start, stop, load, eject and unlock - add decoding for SCSI Ports VPD page - updated to automake version 1.9.5 - copy of sdparm.html placed in doc directory Doug Gilbert - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/