Commit 83b3a5f1 authored by Victor Kotlyar's avatar Victor Kotlyar
Browse files

Minor fixes.

Removed two headers prelabel example due to 

http://savannah.cern.ch/bugs/?102340
parent 150549f4
......@@ -358,15 +358,15 @@ The SCSI commands and st driver's functions used in previous software (CAStor's
\item Log select (for clearing compression stats page. The function clear\_compression\_stats
actually does a blanket reset of all statistics. It sets the PCR/SP/PC combination
to 1/0/3. The basic SCSI specification states that the value pf PC is not important,
but for the IBM drives, the documentation recommends PC=11b, which we have for all drives.
but for the T10000 drives, the documentation recommends PC=11b, which we have for all drives.
\item Log sense, to read the compression pages. This is device dependant. The code covers
5 blocks of device types: DAT, DLT-SDLT-LTO, IBM(3490, 3590, 3592), StorageTek RedWood(SD3),
StorageTek(9840, 9940, T10000).
\item Log sense for page 0x2E (tape alert, as defined in SSC-3) on all modern tape drives to detect tape alerts.
\item Mode sense was used in setdens called itself by mounttape. It sets density and compression
parameters based on the drive type and the density requested by the caller. On all modern tape drives,
\item Mode sense and Mode select was used in setdens called itself by mounttape.
They get the drive parameters and set density and compression parameters based
on the drive type and the density requested by the caller. On all modern tape drives,
the compression page is 0x10. This will be replaced by the function \verb#Tape::Drive::setCompressionAndDensity()#.
Some work is still needed to fully understand the original function.
\end{itemize}
\item st driver's commands, leading to internal variables setting or SCSI actions:
\begin{itemize}
......@@ -472,7 +472,7 @@ and the general description of the ANSI fields can be found in IBM's z/OS docume
\footnote{ \href{http://publib.boulder.ibm.com/infocenter/zos/v1r12/index.jsp?topic=\%2Fcom.ibm.zos.r12.idam300\%2Flabdef.htm}{http://publib.boulder.ibm.com/infocenter/zos/v1r12/index.jsp?topic=\%2Fcom.ibm.zos.r12.idam300\%2Flabdef.htm} }.
The AUL format consists of volume label, header blocks and trailer blocks. All those
descriptors are contained in tape blocks of 80 kilobytes. All data is in ASCII nowadays.
descriptors are contained in tape blocks of 80 bytes. All data is in ASCII nowadays and empty bytes are spaces.
\begin{table}[H]
......@@ -596,7 +596,7 @@ CAStor example for the second file on the tape:
0-3 & 4 & 0x00 & Header label: the caracters "HDR2 or EOF2" \\
\hline
4 & 1 & 0x04 & Record format. An alphabetic character that indicates the
format of the records in the associated data set. For the AUL it could be only: F - fixed length, U - undefined length(only inside PRELABEL with HDR2).\\
format of the records in the associated data set. For the AUL it could be only: F - fixed length.\\
\hline
5-9 & 5 & 0x05 & Block length in bytes (maximum). For the block size greater than 100000 the value is 00000. \\
\hline
......@@ -689,29 +689,6 @@ CAStor example for the empty tape with PRELABEL and one HDR1 is used:
\end{small}
\end{minipage}
\begin{minipage}{\linewidth}
CAStor example for the empty tape with PRELABEL and two HDR1 and HDR2 are used:
\begin{small}
\begin{verbatim}
00000000 56 4f 4c 31 56 35 32 30 30 31 20 20 20 20 20 20 |VOL1V52001 |
00000010 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000020 20 20 20 20 20 72 6f 6f 74 20 20 20 20 20 20 20 | root |
00000030 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 | 3|
00000050 48 44 52 31 50 52 45 4c 41 42 45 4c 20 20 20 20 |HDR1PRELABEL |
00000060 20 20 20 20 20 56 35 32 30 30 31 30 30 30 31 30 | V5200100010|
00000070 30 30 31 30 30 30 31 30 30 30 31 33 32 33 34 30 |0010001000132340|
00000080 31 33 32 33 34 20 30 30 30 30 30 30 43 41 53 54 |13234 000000CAST|
00000090 4f 52 20 32 2e 31 2e 31 33 20 20 20 20 20 20 20 |OR 2.1.13 |
000000a0 48 44 52 32 55 33 32 37 36 30 30 30 30 30 30 20 |HDR2U3276000000 |
000000b0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
000000c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
000000d0 20 20 30 30 20 20 20 20 20 20 20 20 20 20 20 20 | 00 |
000000e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
\end{verbatim}
\end{small}
\end{minipage}
\subsubsection{File block management}
Some files tapes have mixed block sizes,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment