hammer2 - Implement 'growfs' directive
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 1 Sep 2020 21:25:19 +0000 (14:25 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 1 Sep 2020 21:25:19 +0000 (14:25 -0700)
commit4599d71eb994551b666f9bbf7c746393c7c4efbc
treef32712f6bc208d42a49c8187cef862d24f8bdec0
parentc007fe632b8e09440014fa2aad71c21f302186c6
hammer2 - Implement 'growfs' directive

* Implement the 'growfs' directive, as in:

  hammer2 growfs /mnt

* If you resize the partition a hammer2 filesystem resides on, you
  can grow the filesystem into the partition via this command.

  The hammer2 filesystem must be mounted to issue this command.

* Note that disklabel partitions can be made larger in-place, even
  with the filesystem using the partition already mounted, as long
  as the drive actually has room to spare.
sbin/hammer2/Makefile
sbin/hammer2/cmd_growfs.c [new file with mode: 0644]
sbin/hammer2/hammer2.8
sbin/hammer2/hammer2.h
sbin/hammer2/main.c