Xinu7/man/man1/dd58.doc




DD58(1)             Xinu Programmer's Manual              DD58(1)



NAME
     dd58 - copy a file to or from a TU58 connected to an asyn-
     chronous VAX line

SYNOPSIS
     dd58 [option[=value]] ...

DESCRIPTION
     The TU58 tape drive is a block-addressable, random access
     cartridge tape storage unit often used with LSI 11 microcom-
     puters.  The program _d_d_5_8 provides a way to write TU58 tapes
     from the VAX (e.g., to create a bootable system tape).  It
     copies standard input to the TU58, or a given number of
     blocks from the TU58 to its standard output.  Because the
     TU58 controller is a block-oriented interface that relies on
     the driver to supply data quickly, one should never use a
     terminal as standard input.  Options are:

     _o_p_t_i_o_n         _v_a_l_u_e_s
     sam            set special addressing mode
     -sam           disable special addressing mode (default)
     verify         check data after reading or writing (default)
     -verify        do not check data after reading or writing
     maint          set maintenance mode
     -maint         disable maintenance mode (default)
     drive=_n        use drive number _n (default 0)
     posit=_n        reading or writing begins with tape block _n
                    (default 0)
     count=_n        read or write _n bytes (default for _w_r_i_t_i_n_g is
                    to end of file; this must be specified for
                    reading)
     _r_e_a_d           read from the TU58 and write to the standard
                    output
     _w_r_i_t_e          read from the standard input and write to the
                    TU58
     _s_e_e_k           position the TU58 drive at the given block
                    number

     For example, to put the file _x on a tape cartridge at block
     31, using special address mode, use


          dd58 sam posit=31 write < x

     To read its first 512 bytes into the file _y, use


          dd58 sam posit=31 count=512 read > y

DIAGNOSTICS
     Error messages are printed on the terminal; they are self-
     explanatory.



Version 6b               Printed 1/12/87                        1