1nbdkit-floppy-plugin(1)             NBDKIT             nbdkit-floppy-plugin(1)
2
3
4

NAME

6       nbdkit-floppy-plugin - create virtual floppy disk from directory
7

SYNOPSIS

9        nbdkit floppy [dir=]DIRECTORY
10                      [label=LABEL]
11

DESCRIPTION

13       "nbdkit-floppy-plugin" is a plugin for nbdkit(1) which creates a
14       virtual FAT-formatted floppy disk image from a directory on the fly.
15       The files in the specified directory (and subdirectories) appear in the
16       virtual floppy, which is served read-only over the NBD protocol.
17
18       The virtual floppy disk will have a single partition (using an MBR
19       partition table).  In that partition will be a virtual FAT32 filesystem
20       containing the files.  Long filenames are supported.
21
22       To create a CD/ISO, see nbdkit-iso-plugin(1).  To create a Linux
23       compatible virtual disk, see nbdkit-linuxdisk-plugin(1).
24
25       Note: The plugin does not save a temporary copy of the files, so you
26       must leave the directory alone while nbdkit is running, else you may
27       get an error (for example if the plugin tries to open one of the files
28       which you have moved or deleted).  This is different from how
29       nbdkit-iso-plugin(1) and nbdkit-linuxdisk-plugin(1) work, as both of
30       those plugins keep a temporary copy of the files and directories.
31

EXAMPLE

33       Create a virtual floppy disk:
34
35        nbdkit floppy /path/to/directory
36

PARAMETERS

38       [dir=]DIRECTORY
39           Specify the directory containing files and subdirectories which
40           will be added to the virtual floppy disk.  Files inside this
41           directory will appear in the root directory of the virtual floppy.
42
43           This parameter is required.
44
45           "dir=" is a magic config key and may be omitted in most cases.  See
46           "Magic parameters" in nbdkit(1).
47
48       label=LABEL
49           The optional volume label for the filesystem.  This may be up to 11
50           ASCII characters.  If omitted, "NBDKITFLOPY" is used.
51

LIMITATIONS

53       The maximum size of the disk is around 2TB.  The maximum size of a
54       single file is 4GB.  Non-regular files (such as block special, symbolic
55       links, sockets) are not supported and will be ignored.
56
57       The plugin does not support writes.
58
59       The virtual floppy will not be bootable.  This could be added in future
60       (using SYSLINUX) but requires considerable work.  As a workaround use
61       nbdkit-iso-plugin(1) instead.
62
63       FAT32 is always used, even for small disks (where dosfstools, for
64       example, would choose FAT12 or FAT16).  This results in extra wasted
65       space, but since it is only virtual wasted space it isn't really
66       important, and it simplifies the implementation greatly.
67

SEE ALSO

69       nbdkit(1), nbdkit-plugin(3), nbdkit-file-plugin(1),
70       nbdkit-linuxdisk-plugin(1), nbdkit-iso-plugin(1).
71

AUTHORS

73       Richard W.M. Jones
74
76       Copyright (C) 2018 Red Hat Inc.
77

LICENSE

79       Redistribution and use in source and binary forms, with or without
80       modification, are permitted provided that the following conditions are
81       met:
82
83       ·   Redistributions of source code must retain the above copyright
84           notice, this list of conditions and the following disclaimer.
85
86       ·   Redistributions in binary form must reproduce the above copyright
87           notice, this list of conditions and the following disclaimer in the
88           documentation and/or other materials provided with the
89           distribution.
90
91       ·   Neither the name of Red Hat nor the names of its contributors may
92           be used to endorse or promote products derived from this software
93           without specific prior written permission.
94
95       THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
96       EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
97       IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
98       PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
99       LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
100       CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
101       SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
102       BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
103       WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
104       OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
105       ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
106
107
108
109nbdkit-1.12.3                     2019-05-21           nbdkit-floppy-plugin(1)
Impressum