Re: ioctl for HW compression on Sony DDS?

Matthew Wilcox (Matthew.Wilcox@genedata.com)
Mon, 11 Oct 1999 17:42:43 +0200


On Mon, Oct 11, 1999 at 11:36:42AM -0400, nbecker@fred.net wrote:
> Is there any way to turn on/off hardware compression on my Sony S10000
> DDS4 tape drive (maybe via ioctl?)

man mt:

datcompression
(some SCSI-2 DAT tapes) Inquire or set the compres-
sion status (on/off). If the count is one the com-
pression status is printed. If the count is zero,
compression is disabled. Otherwise, compression is
enabled. The command uses the SCSI ioctl to read
and write the Data Compression Characteristics mode
page (15). ONLY ROOT CAN USE THIS COMMAND.

Or do you mean that this command doesn't work?

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

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