Statistics
| Branch: | Revision:

root / qemu-nbd.texi @ 3b05a8e9

History | View | Annotate | Download (1.4 kB)

1 7a5ca864 bellard
@example
2 7a5ca864 bellard
@c man begin SYNOPSIS
3 7a5ca864 bellard
usage: qemu-nbd [OPTION]...  @var{filename}
4 7a5ca864 bellard
@c man end
5 7a5ca864 bellard
@end example
6 7a5ca864 bellard
7 7a5ca864 bellard
@c man begin DESCRIPTION
8 7a5ca864 bellard
9 7a5ca864 bellard
Export Qemu disk image using NBD protocol.
10 7a5ca864 bellard
11 7a5ca864 bellard
@c man end
12 7a5ca864 bellard
13 7a5ca864 bellard
@c man begin OPTIONS
14 7a5ca864 bellard
@table @var
15 7a5ca864 bellard
@item filename
16 7a5ca864 bellard
 is a disk image filename
17 7a5ca864 bellard
@item -p, --port=PORT
18 7a5ca864 bellard
  port to listen on (default `1024')
19 7a5ca864 bellard
@item -o, --offset=OFFSET
20 7a5ca864 bellard
  offset into the image
21 7a5ca864 bellard
@item -b, --bind=IFACE
22 7a5ca864 bellard
  interface to bind to (default `0.0.0.0')
23 cd831bd7 ths
@item -k, --socket=PATH
24 cd831bd7 ths
  Use a unix socket with path PATH
25 7a5ca864 bellard
@item -r, --read-only
26 7a5ca864 bellard
  export read-only
27 7a5ca864 bellard
@item -P, --partition=NUM
28 7a5ca864 bellard
  only expose partition NUM
29 2f726488 ths
@item -s, --snapshot
30 2f726488 ths
  use snapshot file
31 2f726488 ths
@item -n, --nocache
32 2f726488 ths
  disable host cache
33 cd831bd7 ths
@item -c, --connect
34 cd831bd7 ths
  connect FILE to NBD device DEV
35 cd831bd7 ths
@item -d, --disconnect
36 cd831bd7 ths
  disconnect the specified device
37 3b05a8e9 ths
@item -e, --shared=NUM
38 3b05a8e9 ths
  device can be shared by NUM clients (default '1')
39 7a5ca864 bellard
@item -v, --verbose
40 7a5ca864 bellard
  display extra debugging information
41 7a5ca864 bellard
@item -h, --help
42 7a5ca864 bellard
  display this help and exit
43 7a5ca864 bellard
@item -V, --version
44 7a5ca864 bellard
  output version information and exit
45 7a5ca864 bellard
@end table
46 7a5ca864 bellard
47 7a5ca864 bellard
@c man end
48 7a5ca864 bellard
49 7a5ca864 bellard
@ignore
50 7a5ca864 bellard
51 7a5ca864 bellard
@setfilename qemu-nbd
52 7a5ca864 bellard
@settitle QEMU Disk Network Block Device Server
53 7a5ca864 bellard
54 7a5ca864 bellard
@c man begin AUTHOR
55 7a5ca864 bellard
Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws>.
56 7a5ca864 bellard
This is free software; see the source for copying conditions.  There is NO
57 7a5ca864 bellard
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
58 7a5ca864 bellard
@c man end
59 7a5ca864 bellard
60 7a5ca864 bellard
@c man begin SEEALSO
61 7a5ca864 bellard
qemu-img(1)
62 7a5ca864 bellard
@c man end
63 7a5ca864 bellard
64 7a5ca864 bellard
@end ignore