hammer2 - Enhance pfs-list and pfs-delete
commit83d909835be083f0b70712d62133b0253edc5784
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 5 Jun 2020 19:33:26 +0000 (5 12:33 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 5 Jun 2020 19:33:26 +0000 (5 12:33 -0700)
tree009c1c0c1dedb430aaf295bdc69421fccf5fe59e
parentb9ea40e4aa6dd17ca6b22ea214c6c3caa1247111
hammer2 - Enhance pfs-list and pfs-delete

* Enhance pfs-list to list PFSs available across all mounted hammer2
  filesystems instead of just the current directory's mount.  A
  specific mount may be specified via -s mountpt.

* Enhance pfs-delete to look for the PFS name across all mounted
  hammer2 filesystems instead of just the current directory's mount.

  As a safety, pfs-delete will refuse to delete PFS names which are
  duplicated across multiple mounts.  A specific mount may be specified
  via -s mountpt.
sbin/hammer2/cmd_pfs.c
sbin/hammer2/hammer2.8
sbin/hammer2/hammer2.h
sbin/hammer2/hammer2_subs.h
sbin/hammer2/main.c
sbin/hammer2/subs.c