


FORMAT(8S)            MAINTENANCE COMMANDS             FORMAT(8S)



NAME
     format - disk partitioning and maintenance utility

SYNOPSIS
     format [ -f _c_o_m_m_a_n_d-_f_i_l_e ] [ -l _l_o_g-_f_i_l_e ] [ -x _d_a_t_a-_f_i_l_e  ]
     [ -d _d_i_s_k-_n_a_m_e ] [ -t _d_i_s_k__t_y_p_e ]
     [ -p _p_a_r_t_i_t_i_o_n-_n_a_m_e ] [ -s ] _d_i_s_k_n_a_m_e...

DESCRIPTION
     format enables you to  format,  label,  repair  and  analyze
     disks  on  your  Sun computer.  Unlike previous disk mainte-
     nance programs, format runs under SunOS. Because  there  are
     limitations to what can be done to the system disk while the
     system is running,  format  is  also  supported  within  the
     memory-resident  system environment.  For most applications,
     however, running format under SunOS is the  more  convenient
     approach.

     If no _d_i_s_k-_l_i_s_t  is  present,  format  uses  the  disk  list
     defined  in  the data file specified with the -x option.  If
     that option is omitted, the data file defaults to format.dat
     in the current directory, or else /etc/format.dat.

OPTIONS
     -f _c_o_m_m_a_n_d-_f_i_l_e
          Take command input from _c_o_m_m_a_n_d-_f_i_l_e  rather  than  the
          standard  input.   The  file must contain commands that
          appear just as they would if they had been entered from
          the  keyboard.  With this option, format does not issue
          continue? prompts.

     -l _l_o_g-_f_i_l_e
          Log a transcript of the format session to the indicated
          _l_o_g-_f_i_l_e,  including  the  standard input, the standard
          output and the standard error.

     -x _d_a_t_a-_f_i_l_e
          Use the disk list contained in _d_a_t_a-_f_i_l_e.

     -d _d_i_s_k__n_a_m_e
          Specify which disk should be made  current  upon  entry
          into the program.  The disk is specified by its logical
          name (for instance, - xy0). This  can  also  be  accom-
          plished by specifying a single disk in the disk list.

     -t _d_i_s_k-_t_y_p_e
          Specify the type of disk which is  current  upon  entry
          into the program, A disk's type is specified by name in
          the data file. This option can only be used if  a  disk
          is being made current as described above.

     -p _p_a_r_t_i_t_i_o_n-_n_a_m_e



Sun Release 4.1   Last change: 20 January 1988                  1






FORMAT(8S)            MAINTENANCE COMMANDS             FORMAT(8S)



          Specify the partition  table  for  the  disk  which  is
          current  upon  entry  into  the  program.  The table is
          specified by its name as  defined  in  the  data  file.
          This  option  can  only be used if a disk is being made
          current, and its type is either specified or  available
          from the disk label.

     -s   Silent.  Suppress all of the  standard  output.   Error
          messages  are  still displayed.  This is generally used
          in conjunction with the -f option.

FILES
     /etc/format.dat     default data file

SEE ALSO
     _S_y_s_t_e_m _a_n_d _N_e_t_w_o_r_k _A_d_m_i_n_i_s_t_r_a_t_i_o_n







































Sun Release 4.1   Last change: 20 January 1988                  2



