initial import
This commit is contained in:
21
nbd/config
Normal file
21
nbd/config
Normal file
@@ -0,0 +1,21 @@
|
||||
[generic]
|
||||
# The [generic] section is required, even if nothing is specified
|
||||
# there.
|
||||
# When either of these options are specified, nbd-server drops
|
||||
# privileges to the given user and group after opening ports, but
|
||||
# _before_ opening files.
|
||||
user = nbd
|
||||
group = nbd
|
||||
[export1]
|
||||
exportname = /export/nbd/export1-file
|
||||
authfile = /export/nbd/export1-authfile
|
||||
timeout = 30
|
||||
filesize = 10000000
|
||||
readonly = false
|
||||
multifile = false
|
||||
copyonwrite = false
|
||||
prerun = dd if=/dev/zero of=%s bs=1k count=500
|
||||
postrun = rm -f %s
|
||||
[otherexport]
|
||||
exportname = /export/nbd/experiment
|
||||
# The other options are all optional.
|
||||
Reference in New Issue
Block a user