From ceed7673ad77bc38486ac094003bd803978a863b Mon Sep 17 00:00:00 2001 From: Michael Neumann Date: Thu, 16 Jul 2009 14:56:47 +0200 Subject: [PATCH] hammer expand: add manpage --- sbin/hammer/hammer.8 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/sbin/hammer/hammer.8 b/sbin/hammer/hammer.8 index 5089a250e9..b41ed46750 100644 --- a/sbin/hammer/hammer.8 +++ b/sbin/hammer/hammer.8 @@ -359,6 +359,27 @@ PFS option can be set to use another location for the snapshots directory. Work on this command is still in progress. Expected additions: An ability to remove snapshots dynamically as the file system becomes full. +.\" ==== expand ==== +.It Ar expand Ar filesystem Ar device +This command will format +.Ar device +and add all of its space to +.Ar filesystem . +.Pp +NOTE! All existing data contained on +.Ar device +will be destroyed by this operation! If +.Ar device +contains a valid +.Nm HAMMER +filesystem, formatting will be denied. You can overcome this sanity check +by using +.Xr dd 1 +to erase the beginning sectors of the device. +Also remember that you have to specify +.Ar device , +together with any other device that make the filesystem, colon-separated to +.Xr mount_hammer 8 . .\" ==== snapshot ==== .It Ar snapshot Oo Ar filesystem Oc Ar snapshot-dir Takes a snapshot of the file system either explicitly given by -- 2.41.0