Usage: sg_write_attr [--element=EA] [--enumerate] [--help] [--hex] [--in=FN] [--lvn=LVN] [--partition=PN] [--raw] [--verbose] [--version] [--wtc] DEVICE [attr=value [attr=value ...]] where: --enumerate|-e enumerate known attributes and service actions --element=EA|-E EA EA is placed in 'element address' field in cdb [SMC-3] (def: 0) --help|-h print out usage message --hex|-H input file contains attribute list in hex format --in=FN|-i FN FN is a filename containing attribute-value pairs or attribute list in binary/hex format if used with --raw or --hex --lvn=LVN|-l LVN logical volume number (LVN) (def:0) --partition=PN|-p PN partition number (PN) (def:0) --raw|-r input file contains binary attribute list --verbose|-v increase verbosity --version|-V print version string and exit --wtc|-c set WRITE THROUGH CACHE bit in cdn (def: clear) Performs a SCSI WRITE ATTRIBUTE command. Even though it is defined in SPC-3 and later it is typically used on tape systems.