Usage: sg_rmsn [--help] [--raw] [--readonly] [--verbose] [--version] DEVICE where: --help|-h print out usage message --raw|-r output serial number to stdout (potentially binary) --readonly|-R open DEVICE read-only (def: open it read-write) --verbose|-v increase verbosity --version|-V print version string and exit Performs a SCSI READ MEDIA SERIAL NUMBER command