diff options
author | наб <[email protected]> | 2022-03-16 18:33:41 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-03-28 10:13:14 -0700 |
commit | 52f3aebdb2b4b457812fbac572df67461d7162bf (patch) | |
tree | ebd8f55016f231b5f16e0f27b73a3ea98c4980e6 /man/man8/zfs-list.8 | |
parent | 2057b47b91a4c7937209f23be85608848521f284 (diff) |
man: zfs-list.8: import examples from zfs.8
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13228
Diffstat (limited to 'man/man8/zfs-list.8')
-rw-r--r-- | man/man8/zfs-list.8 | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/man/man8/zfs-list.8 b/man/man8/zfs-list.8 index 2de168bd8..2b4c13d0e 100644 --- a/man/man8/zfs-list.8 +++ b/man/man8/zfs-list.8 @@ -29,7 +29,7 @@ .\" Copyright 2018 Nexenta Systems, Inc. .\" Copyright 2019 Joyent, Inc. .\" -.Dd May 27, 2021 +.Dd March 16, 2022 .Dt ZFS-LIST 8 .Os . @@ -157,6 +157,27 @@ For example, specifying displays only snapshots. .El . +.Sh EXAMPLES +.\" These are, respectively, examples 5 from zfs.8 +.\" Make sure to update them bidirectionally +.Ss Example 1 : No Listing ZFS Datasets +The following command lists all active file systems and volumes in the system. +Snapshots are displayed if +.Sy listsnaps Ns = Ns Sy on . +The default is +.Sy off . +See +.Xr zpoolprops 7 +for more information on pool properties. +.Bd -literal -compact -offset Ds +.No # Nm zfs Cm list +NAME USED AVAIL REFER MOUNTPOINT +pool 450K 457G 18K /pool +pool/home 315K 457G 21K /export/home +pool/home/anne 18K 457G 18K /export/home/anne +pool/home/bob 276K 457G 276K /export/home/bob +.Ed +. .Sh SEE ALSO .Xr zfsprops 7 , .Xr zfs-get 8 |