Add "temporary" option, and ability to create files.
authorAlex Bligh <alex@alex.org.uk>
Tue, 31 May 2011 08:47:23 +0000 (09:47 +0100)
committerAlex Bligh <alex@alex.org.uk>
Fri, 24 Jun 2011 12:59:08 +0000 (13:59 +0100)
commit840b007c3f74a06d1b4d362af2a28dc57ac43470
treeba60eeb304bf84b90708b60f33b6a9296e2c22f2
parentc4c7534c3ddb880d3c6ed4bde2b6047bd304a86e
Add "temporary" option, and ability to create files.

This commit:
* Adds a "temporary" option, which causes a unique file to be
  created, which is unliked as soon as it is created (and thus
  will not be present on exit). This is used for creation of
  temporary disks.
* Will create a file, if "filesize" is specified and the file
  is not present or is zero length (useful in conjunction with the
  above).
man/nbd-server.5.in.sgml
nbd-server.c
simple_test