Linux Manuals
The Linux Manuals (man pages) document is an important part of Linux documents. Linux Manuals are organized as several sections. Each section has a group of commands for a specific area in Linux usage, administration or development.
-
-
sg_reassign (8) Linux Manual Page
sg_reassign – send SCSI REASSIGN BLOCKS command Synopsis sg_reassign [–address=A,A…] [–dummy] [–eight=0|1] [–grown] [–help] [–longlist=0|1] [–primary] [–verbose] [–version] DEVICE Description Send a SCSI REASSIGN BLOCKS command to DEVICE. Alternatively this utility can find the number of element in a "grown" or "primary" defect list with a SCSI READ DEFECT DATA (10) command. These SCSI commands…
-
sg_readcap (8) Linux Manual Page
sg_readcap – send SCSI READ CAPACITY command Synopsis sg_readcap [–16] [–brief] [–help] [–hex] [–lba=LBA] [–long] [–pmi] [–raw] [–verbose] [–version] DEVICE sg_readcap [-16] [-b] [-h] [-H] [-lba=LBA] [-pmi] [-r] [-v] [-V] DEVICE Description The normal action of the SCSI READ CAPACITY command is to fetch the number of blocks (and block size) from the DEVICE. The…
-
sg_read_long (8) Linux Manual Page
sg_read_long – send a SCSI READ LONG command Synopsis sg_read_long [–16] [–correct] [–help] [–lba=LBA] [–out=OF] [–pblock] [–readonly] [–verbose] [–version] [–xfer_len=BTL] DEVICE Description Send SCSI READ LONG command to DEVICE. The read buffer is output in hex and ASCII to stdout or placed in a file. Note that the data returned includes the logical block data…
-
sg_read_buffer (8) Linux Manual Page
sg_read_buffer – send SCSI READ BUFFER command Synopsis sg_read_buffer [–help] [–hex] [–id=ID] [–length=LEN] [–mode=MO] [–offset=OFF] [–raw] [–verbose] [–version] DEVICE Description Sends a SCSI READ BUFFER command to the DEVICE, and if there is a response either decodes it, prints it in hexadecimal or sends it in binary to stdout. If a response is received for…
-
sg_read_block_limits (8) Linux Manual Page
sg_read_block_limits – send SCSI READ BLOCK LIMITS command Synopsis sg_read_block_limits [–help] [–hex] [–raw] [–verbose] [–version] DEVICE Description Send a SCSI READ BLOCK LIMITS command to DEVICE and outputs the response. This command is defined for tape (drives) and its description is found in the SSC documents at http://www.t10.org . Options Arguments to long options are…
-
sg_read (8) Linux Manual Page
sg_read – read multiple blocks of data, optionally with SCSI READ commands Synopsis sg_read [blk_sgio=0|1] [bpt=BPT] [bs=BS] [cdbsz=6|10|12|16] count=COUNT [dio=0|1] [dpo=0|1] [fua=0|1] if=IFILE [mmap=0|1] [no_dxfer=0|1] [odir=0|1] [skip=SKIP] [time=TI] [verbose=VERB] [–help] [–version] Description Read data from a Linux SCSI generic (sg) device, a block device or a normal file with each read command issued to the…
-
sg_rdac (8) Linux Manual Page
sg_rdac – display or modify SCSI RDAC Redundant Controller mode page Synopsis sg_rdac [-a] [-f=LUN] [-v] [-V] DEVICE Description sg_rdac displays or modifies the RDAC controller settings via the Redundant Controller mode page (0x2C). When modifying the settings it allows to transfer the ownership of individual drives to the controller the command was received on….
-
sg_rbuf (8) Linux Manual Page
sg_rbuf – reads data using SCSI READ BUFFER command Synopsis sg_rbuf [–buffer=EACH] [–dio] [–help] [–mmap] [–quick] [–size=OVERALL] [–test] [–verbose] [–version] DEVICE sg_rbuf [-b=EACH_KIB] [-d] [-m] [-q] [-s=OVERALL_MIB] [-t] [-v] [-V] DEVICE Description This command reads data with the SCSI READ BUFFER command and then discards it. Typically the data being read is from a disk’s…
-
sg_raw (8) Linux Manual Page
sg_raw – send arbitrary SCSI command to a device Synopsis sg_raw [OPTIONS] DEVICE CDB0 CDB1 … Description This utility sends an arbitrary SCSI command (between 6 and 256 bytes) to the DEVICE. There may be no associated data transfer; or data may be read from a file and sent to the DEVICE; or data may…
-
sg_prevent (8) Linux Manual Page
sg_prevent – send SCSI PREVENT ALLOW MEDIUM REMOVAL command Synopsis sg_prevent [–allow] [–help] [–prevent=PC] [–verbose] [–version] DEVICE Description Sends a SCSI PREVENT ALLOW MEDIUM REMOVAL command to DEVICE. The default action of this utility is to prevent the removing or ejecting of the medium from a drive. This is done by ignoring the SCSI START…
-
sg_persist (8) Linux Manual Page
sg_persist – use SCSI PERSISTENT RESERVE command to access registrations and reservations Synopsis sg_persist [OPTIONS] DEVICE sg_persist [OPTIONS] –device=DEVICE sg_persist –help | –version Description This utility allows Persistent reservations and registrations to be queried and changed. Persistent reservations and registrations are queried by sub-commands (called "service actions" in SPC-4) of the SCSI PERSISTENT RESERVE IN…
-
sg_opcodes (8) Linux Manual Page
sg_opcodes – report supported SCSI commands or task management functions Synopsis sg_opcodes [–alpha] [–help] [–hex] [–no-inquiry] [–opcode=OP] [–raw] [–rctd] [–repd] [–sa=SA] [–tmf] [–unsorted] [–verbose] [–version] DEVICE sg_opcodes [-a] [-n] [-o=OP] [-q] [-R] [-s=SA] [-t] [-u] [-v] [-V] [-?] DEVICE Description This utility sends a SCSI REPORT SUPPORTED OPERATION CODES or a REPORT SUPPORTED TASK MANAGEMENT…
-
sg_modes (8) Linux Manual Page
sg_modes – reads mode pages with SCSI MODE SENSE command Synopsis sg_modes [–all] [–control=PC] [–dbd] [–dbout] [–examine] [–flexible] [–help] [–hex] [–list] [–llbaa] [–maxlen=LEN] [–page=PG[,SPG]] [–raw] [-R] [–six] [–verbose] [–version] [DEVICE] sg_modes [-6] [-a] [-A] [-c=PC] [-d] [-D] [-e] [-f] [-h] [-H] [-l] [-L] [-m=LEN] [-p=PG[,SPG]] [-r] [-subp=SPG] [-v] [-V] [-?] [DEVICE] Description This utility sends…
-
sg_map26 (8) Linux Manual Page
sg_map26 – map SCSI generic (sg) device to corresponding device names Synopsis sg_map26 [–dev_dir=DIR] [–given_is=0|1] [–help] [–result=0|1|2|3] [–symlink] [–verbose] [–version] DEVICE Description Maps a special file (block or char) associated with a SCSI device to the corresponding SCSI generic (sg) device, or vice versa. Can also be given a sysfs file, for example ‘/sys/block/sda’ or…
-
sg_map (8) Linux Manual Page
sg_map – displays mapping between Linux sg and other SCSI devices Synopsis sg_map [-a] [-h] [-i] [-n] [-scd] [-sd] [-sr] [-st] [-V] [-x] Description Sometimes it is difficult to determine which SCSI device a sg device name (e.g. /dev/sg0) refers to. This command loops through the sg devices and finds the corresponding SCSI disk, cdrom…
-
sg_luns (8) Linux Manual Page
sg_luns – send SCSI REPORT LUNS command or decode given LUN Synopsis sg_luns [–decode] [–help] [–hex] [–linux] [–maxlen=LEN] [–quiet] [–raw] [–select=SR] [–verbose] [–version] DEVICE sg_luns –test=ALUN [–hex] [–verbose] Description In the first form shown in the SYNOPSIS this utility sends the SCSI REPORT LUNS command to the DEVICE and outputs the response. The response should…
-
sg_logs (8) Linux Manual Page
sg_logs – access log pages with SCSI LOG SENSE command Synopsis sg_logs [–all] [–brief] [–control=PC] [–help] [–hex] [–list] [–maxlen=LEN] [–name] [–page=PG[,SPG]] [–paramp=PP] [–pcb] [–ppc] [–raw] [–reset] [–select] [–sp] [–temperature] [–transport] [–verbose] [–version] DEVICE sg_logs [-a] [-A] [-b] [-c=PC] [-h] [-H] [-l] [-L] [-m=LEN] [-n] [-p=PG[,SPG]] [-paramp=PP] [-pcb] [-ppc] [-r] [-select] [-sp] [-t] [-T] [-v] [-V]…
-
sg_inq (8) Linux Manual Page
sg_inq – issue SCSI INQUIRY command, output and decode response Synopsis sg_inq [–ata] [–cmddt] [–descriptors] [–export] [–extended] [–help] [–hex] [–id] [–len=LEN] [–maxlen=LEN] [–page=PG] [–raw] [–vendor] [–verbose] [–version] [–vpd] DEVICE sg_inq [-36] [-a] [-A] [-b] [-c] [-cl] [-d] [-e] [-h] [-H] [-i] [-l=LEN] [-m] [-M] [-o=OPCODE_PG] [-p=VPD_PG] [-P] [-r] [-s] [-u] [-v] [-V] [-x] [-36] [-?]…
-
sg_ident (8) Linux Manual Page
sg_ident – send SCSI REPORT/SET IDENTIFYING INFORMATION command Synopsis sg_ident [–ascii] [–clear] [–help] [–itype=IT] [–raw] [–set] [–verbose] [–version] DEVICE Description Send a SCSI REPORT IDENTIFYING INFORMATION or SET IDENTIFYING INFORMATION command to DEVICE. Prior to SPC-4 (revision 7) these commands were called REPORT DEVICE IDENTIFIER and SET DEVICE IDENTIFIER respectively. SCSI devices that support these…
