Statistics
| Branch: | Revision:

root / qemu-mkcow.1 @ d1d9f421

History | View | Annotate | Download (2.7 kB)

1 c101c49c bellard
.\" $Header: /home/paul/qemu/svnmerge/qemu-cvs/qemu/qemu-mkcow.1,v 1.1 2004-03-26 22:42:54 bellard Exp $
2 c101c49c bellard
.\"
3 c101c49c bellard
.\"	transcript compatibility for postscript use.
4 c101c49c bellard
.\"
5 c101c49c bellard
.\"	synopsis:  .P! <file.ps>
6 c101c49c bellard
.\"
7 c101c49c bellard
.de P!
8 c101c49c bellard
.fl
9 c101c49c bellard
\!!1 setgray
10 c101c49c bellard
.fl
11 c101c49c bellard
\\&.\"
12 c101c49c bellard
.fl
13 c101c49c bellard
\!!0 setgray
14 c101c49c bellard
.fl			\" force out current output buffer
15 c101c49c bellard
\!!save /psv exch def currentpoint translate 0 0 moveto
16 c101c49c bellard
\!!/showpage{}def
17 c101c49c bellard
.fl			\" prolog
18 c101c49c bellard
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
19 c101c49c bellard
\!!psv restore
20 c101c49c bellard
.
21 c101c49c bellard
.de pF
22 c101c49c bellard
.ie     \\*(f1 .ds f1 \\n(.f
23 c101c49c bellard
.el .ie \\*(f2 .ds f2 \\n(.f
24 c101c49c bellard
.el .ie \\*(f3 .ds f3 \\n(.f
25 c101c49c bellard
.el .ie \\*(f4 .ds f4 \\n(.f
26 c101c49c bellard
.el .tm ? font overflow
27 c101c49c bellard
.ft \\$1
28 c101c49c bellard
..
29 c101c49c bellard
.de fP
30 c101c49c bellard
.ie     !\\*(f4 \{\
31 c101c49c bellard
.	ft \\*(f4
32 c101c49c bellard
.	ds f4\"
33 c101c49c bellard
'	br \}
34 c101c49c bellard
.el .ie !\\*(f3 \{\
35 c101c49c bellard
.	ft \\*(f3
36 c101c49c bellard
.	ds f3\"
37 c101c49c bellard
'	br \}
38 c101c49c bellard
.el .ie !\\*(f2 \{\
39 c101c49c bellard
.	ft \\*(f2
40 c101c49c bellard
.	ds f2\"
41 c101c49c bellard
'	br \}
42 c101c49c bellard
.el .ie !\\*(f1 \{\
43 c101c49c bellard
.	ft \\*(f1
44 c101c49c bellard
.	ds f1\"
45 c101c49c bellard
'	br \}
46 c101c49c bellard
.el .tm ? font underflow
47 c101c49c bellard
..
48 c101c49c bellard
.ds f1\"
49 c101c49c bellard
.ds f2\"
50 c101c49c bellard
.ds f3\"
51 c101c49c bellard
.ds f4\"
52 c101c49c bellard
'\" t 
53 c101c49c bellard
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n  
54 c101c49c bellard
.TH "QEMU" "8" 
55 c101c49c bellard
.SH "NAME" 
56 c101c49c bellard
qemu-mkcow \(em create a copy-on-write file for qemu 
57 c101c49c bellard
.SH "SYNOPSIS" 
58 c101c49c bellard
.PP 
59 c101c49c bellard
\fBqemu-mkcow\fR [\fB-h\fP]  [\fB-f \fImaster_disk_image\fR\fP]  [\fIcow_image\fR]  [\fB\fIcow_size\fR\fP]  
60 c101c49c bellard
.SH "DESCRIPTION" 
61 c101c49c bellard
.PP 
62 c101c49c bellard
The \fBqemu-mkcow\fR command creates a 
63 c101c49c bellard
persistent copy-on-write file for \fBqemu\fR. 
64 c101c49c bellard
 
65 c101c49c bellard
.PP 
66 c101c49c bellard
\fBqemu\fR can be used in a "copy-on-write" mode, 
67 c101c49c bellard
where changes made by \fBqemu\fR do not actually 
68 c101c49c bellard
change the disk image file.  One way is to invoke 
69 c101c49c bellard
\fBqemu\fR with -snapshot: these changes 
70 c101c49c bellard
are stored in a temporary file, which is discarded when  
71 c101c49c bellard
\fBqemu\fR exits. 
72 c101c49c bellard
 
73 c101c49c bellard
.PP 
74 c101c49c bellard
\fBqemu-mkcow\fR creates an explicit copy-on-write 
75 c101c49c bellard
file where changes are to be stored: this way, changes made 
76 c101c49c bellard
inside \fBqemu\fR will still be there next time you 
77 c101c49c bellard
run it, although the master disk image isn't ever changed. 
78 c101c49c bellard
 
79 c101c49c bellard
.PP 
80 c101c49c bellard
The usual method is to create the master image, then create a 
81 c101c49c bellard
copy-on-write file using \fBqemu-mkcow\fR with 
82 c101c49c bellard
\fB-f\fP.  The filename of the master image is stored 
83 c101c49c bellard
inside the generated copy-on-write file: it must not be modified 
84 c101c49c bellard
after this is run! 
85 c101c49c bellard
 
86 c101c49c bellard
.PP 
87 c101c49c bellard
If no master file is specified, the effect is that of a 
88 c101c49c bellard
blank master of size \fIcow_size\fR. 
89 c101c49c bellard
 
90 c101c49c bellard
.SH "SEE ALSO" 
91 c101c49c bellard
.PP 
92 c101c49c bellard
qemu(1), qemu-fast(1). 
93 c101c49c bellard
.SH "AUTHOR" 
94 c101c49c bellard
.PP 
95 c101c49c bellard
This manual page was written by Paul Russell prussell@debian.org for 
96 c101c49c bellard
the \fBDebian\fP system (but may be used by others).  Permission is 
97 c101c49c bellard
granted to copy, distribute and/or modify this document under 
98 c101c49c bellard
the terms of the GNU General Public License, Version 2 any  
99 c101c49c bellard
later version published by the Free Software Foundation. 
100 c101c49c bellard
 
101 c101c49c bellard
.PP 
102 c101c49c bellard
On Debian systems, the complete text of the GNU General Public 
103 c101c49c bellard
License can be found in /usr/share/common-licenses/GPL. 
104 c101c49c bellard
 
105 c101c49c bellard
.\" created by instant / docbook-to-man, Fri 12 Mar 2004, 05:58