Print this page
8708 Want diskinfo(1m) to list all disk bays, including those don't have disk installed

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/diskinfo.1m
          +++ new/usr/src/man/man1m/diskinfo.1m
↓ open down ↓ 3 lines elided ↑ open up ↑
   4    4  .\" You may only use this file in accordance with the terms of version
   5    5  .\" 1.0 of the CDDL.
   6    6  .\"
   7    7  .\" A full copy of the text of the CDDL should have accompanied this
   8    8  .\" source.  A copy of the CDDL is also available via the Internet at
   9    9  .\" http://www.illumos.org/license/CDDL.
  10   10  .\"
  11   11  .\" Copyright 2014 Joyent, Inc.
  12   12  .\" Copyright 2016 Nexenta Systems, Inc.
  13   13  .\"
  14      -.Dd July 20, 2016
       14 +.Dd October 06, 2017
  15   15  .Dt DISKINFO 1M
  16   16  .Os
  17   17  .Sh NAME
  18   18  .Nm diskinfo
  19   19  .Nd provide disk device inventory and status
  20   20  .Sh SYNOPSIS
  21   21  .Nm
  22      -.Op Fl Hp
       22 +.Op Fl aHp
  23   23  .Op Fl c Ns | Ns Fl P
  24   24  .Sh DESCRIPTION
  25   25  The diskinfo tool provides information about the disk devices in the system.
  26   26  Because it interacts with the kernel's device management subsystem, this tool
  27   27  can be used only from the global zone.
  28   28  If run in any other zone, its output will be incomplete and unreliable.
  29   29  .Pp
  30   30  There are three main modes.
  31   31  The default mode, when neither the
  32   32  .Fl c
↓ open down ↓ 25 lines elided ↑ open up ↑
  58   58  .Fl c
  59   59  option selects compact mode.
  60   60  This mode provides all of the information provided by both the default mode and
  61   61  physical mode in a compact format.
  62   62  .Pp
  63   63  See
  64   64  .Sx OUTPUT FIELDS
  65   65  below for a detailed description of each column.
  66   66  .Sh OPTIONS
  67   67  .Bl -tag -width Ds
       68 +.It Fl a
       69 +Show all disk bays, including those don't have disks installed.
  68   70  .It Fl c
  69   71  Select compact mode output.
  70   72  At most one of
  71   73  .Fl c
  72   74  and
  73   75  .Fl P
  74   76  may be present on the command line.
  75   77  .It Fl H
  76   78  Do not print a header.
  77   79  This provides output suitable for passing into text processing tools.
↓ open down ↓ 114 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX