new tool: blktool

From: Jeff Garzik
Date: Sun Aug 15 2004 - 16:38:06 EST



I just posted "blktool" on my SF page,
http://sourceforge.net/projects/gkernel/
and in BitKeeper at
bk://gkernel.bkbits.net/blktool


blktool aims to be an easier to use, and more generic version of the existing utility 'hdparm'. For example,

$ hdparm -c1 /dev/hda
becomes
$ blktool /dev/hda pio-data 32-bit

and

$ hdparm -L0 /dev/hda
becomes
$ blktool /dev/hda media unlock

The utility is currently still fairly specific to IDE devices (as hdparm is), but that will change in the coming weeks as SCSI, I2O, and possibly some bits of hardware RAID control are added.

The audience for this application, like hdparm, is fairly narrow, specific to people who tweak their storage devices and _know what they are doing_. Improper use of this tool, like hdparm, can turn your disk into a doorstop.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/