[Libguestfs] [PATCH nbdkit 3/5] FIX: Add documentation.

Richard W.M. Jones rjones at redhat.com
Wed Jun 16 16:15:42 UTC 2021


---
 plugins/floppy/nbdkit-floppy-plugin.pod | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/plugins/floppy/nbdkit-floppy-plugin.pod b/plugins/floppy/nbdkit-floppy-plugin.pod
index 8e25b1f5..5938ad70 100644
--- a/plugins/floppy/nbdkit-floppy-plugin.pod
+++ b/plugins/floppy/nbdkit-floppy-plugin.pod
@@ -5,7 +5,7 @@ nbdkit-floppy-plugin - create virtual floppy disk from directory
 =head1 SYNOPSIS
 
  nbdkit floppy [dir=]DIRECTORY
-               [label=LABEL]
+               [label=LABEL] [size=SIZE]
 
 =head1 DESCRIPTION
 
@@ -55,6 +55,12 @@ See L<nbdkit(1)/Magic parameters>.
 The optional volume label for the filesystem.  This may be up to 11
 ASCII characters.  If omitted, C<NBDKITFLOPY> is used.
 
+=item B<size=>SIZE
+
+Optional total disk size.  If omitted then the disk will only be large
+enough to store all the files and directories from C<DIRECTORY> with
+no free space.
+
 =back
 
 =head1 LIMITATIONS
-- 
2.32.0




More information about the Libguestfs mailing list