diff options
author | Kai Makisara <Kai.Makisara@kolumbus.fi> | 2008-02-24 15:29:12 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-07 13:15:40 -0400 |
commit | b174be02f3634460ac215d249617dee5ae446ae1 (patch) | |
tree | 6e62d2ff4b3c1cdfe2b36213992bd986ca9a5654 /fs/afs/vnode.c | |
parent | 40f6b36c6243462fb95d0343237331c423494b03 (diff) |
[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 'fs/afs/vnode.c')
0 files changed, 0 insertions, 0 deletions