]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add the "-t" option to geom(8) utility, to display geoms hierarchy.
authorEdward Tomasz Napierala <trasz@FreeBSD.org>
Fri, 14 Sep 2018 15:29:45 +0000 (15:29 +0000)
committerEdward Tomasz Napierala <trasz@FreeBSD.org>
Fri, 14 Sep 2018 15:29:45 +0000 (15:29 +0000)
commit6a02738229be1d312f4e4af22d64e662a2084eee
tree2b7c57cf48499cd9b23e5fa01612bf36a555522b
parentc51b7ab9e3fb35cfa179ebf532421e94bad97c41
Add the "-t" option to geom(8) utility, to display geoms hierarchy.
Sample output:

% geom -t
Geom             Class      Provider
da0              DISK       da0
  da0            PART       da0s1
    da0s1        PART       da0s1a
      ffs.da0s1a VFS
      da0s1a     DEV
    da0s1        DEV
  da0            DEV
da1              DISK       da1
  swap           SWAP
  da1            DEV
cd0              DISK       cd0
  cd0            DEV

Reviewed by: oshogbo
Approved by: re (kib)
MFC after: 2 weeks
Relnotes: yes
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D17151
sbin/geom/core/geom.8
sbin/geom/core/geom.c