diff options
author | Kai Makisara <Kai.Makisara@kolumbus.fi> | 2008-02-24 20:29:12 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-07 17:15:40 (GMT) |
commit | b174be02f3634460ac215d249617dee5ae446ae1 (patch) | |
tree | 6e62d2ff4b3c1cdfe2b36213992bd986ca9a5654 /scripts/rt-tester/t2-l1-pi.tst | |
parent | 40f6b36c6243462fb95d0343237331c423494b03 (diff) | |
download | linux-fsl-qoriq-b174be02f3634460ac215d249617dee5ae446ae1.tar.xz |
[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 <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'scripts/rt-tester/t2-l1-pi.tst')
0 files changed, 0 insertions, 0 deletions