Print this page
10120 smatch indenting fixes for usr/src/cmd
Reviewed by: Gergő Doma <domag02@gmail.com>
Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>


  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
  22 /*        All Rights Reserved   */
  23 
  24 
  25 /*
  26  *
  27  *      Portions of this source code were provided by International
  28  *      Computers Limited (ICL) under a development agreement with AT&T.
  29  */
  30 
  31 /*
  32  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  33  * Use is subject to license terms.
  34  */
  35 
  36 /*



  37  * Sun Microsystems version of fmthard:
  38  *
  39  * Supports the following arguments:
  40  *
  41  *      -i              Writes VTOC to stdout, rather than disk
  42  *      -q              Quick check: exit code 0 if VTOC ok
  43  *      -d <data> Incremental changes to the VTOC
  44  *      -n <vname>        Change volume name to <vname>
  45  *      -s <file> Read VTOC information from <file>, or stdin ("-")
  46  *      -u <state>        Reboot after writing VTOC, according to <state>:
  47  *                              boot: AD_BOOT (standard reboot)
  48  *                              firm: AD_IBOOT (interactive reboot)
  49  *
  50  * Note that fmthard cannot write a VTOC on an unlabeled disk.
  51  * You must use format or SunInstall for this purpose.
  52  * (NOTE: the above restriction only applies on Sparc systems).
  53  *
  54  * The primary motivation for fmthard is to duplicate the
  55  * partitioning from disk to disk:
  56  *




  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
  22 /*        All Rights Reserved   */
  23 
  24 
  25 /*
  26  *
  27  *      Portions of this source code were provided by International
  28  *      Computers Limited (ICL) under a development agreement with AT&T.
  29  */
  30 
  31 /*
  32  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  33  * Use is subject to license terms.
  34  */
  35 
  36 /*
  37  * Copyright (c) 2018, Joyent, Inc.
  38  */
  39 /*
  40  * Sun Microsystems version of fmthard:
  41  *
  42  * Supports the following arguments:
  43  *
  44  *      -i              Writes VTOC to stdout, rather than disk
  45  *      -q              Quick check: exit code 0 if VTOC ok
  46  *      -d <data> Incremental changes to the VTOC
  47  *      -n <vname>        Change volume name to <vname>
  48  *      -s <file> Read VTOC information from <file>, or stdin ("-")
  49  *      -u <state>        Reboot after writing VTOC, according to <state>:
  50  *                              boot: AD_BOOT (standard reboot)
  51  *                              firm: AD_IBOOT (interactive reboot)
  52  *
  53  * Note that fmthard cannot write a VTOC on an unlabeled disk.
  54  * You must use format or SunInstall for this purpose.
  55  * (NOTE: the above restriction only applies on Sparc systems).
  56  *
  57  * The primary motivation for fmthard is to duplicate the
  58  * partitioning from disk to disk:
  59  *