From: Kai Makisara Date: Sun, 24 Feb 2008 20:29:12 +0000 (+0200) Subject: [SCSI] st: show options currently set in sysfs X-Git-Tag: v2.6.26-rc1~1140^2~129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b174be02f3634460ac215d249617dee5ae446ae1;p=pandora-kernel.git [SCSI] st: show options currently set in sysfs Show the current binary tape driver and mode options is sysfs. A file (options) is created in each directory in /sys/class/scsi_tape. The files contain masks showing the options. The mask bit definitions are the same as used when setting the options using the MTSETDRVBUFFER function in the MTIOCTOP ioctl (defined in include/linux/mtio.h). For example: > cat /sys/class/scsi_tape/nst0/options 0x00000d07 [jejb: updated doc with correction from Randy Dunlap] Signed-off-by: Kai Makisara Signed-off-by: James Bottomley --- Reading git-diff-tree failed