summaryrefslogtreecommitdiff
path: root/sys/man/8/qcowfs
blob: 3ce2b372038a0821c52126f09d9cbdd4d5f31739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.TH QCOWFS 8
.SH NAME
qcowfs \- QCOW2 file system
.SH SYNOPSIS
.B disk/qcowfs
[
.B -n
.I size
]
[
.B -m
.I mtpt
]
[
.B -s
.I service
]
.I diskimage
.SH DESCRIPTION
.I Qcowfs
exposes a
.B data
file using the provided
.I diskimage
as the backing store.
.PP
The
.B -n
flag truncates
.I imagefile
with the specified
.I size
(in bytes) before using it.
The
.B -m
flag sets the
.I mtpt
(default /mnt/qcow).
The
.B -s
flag causes
.I qcowfs
to post its 9P service as
.BI /srv/ service \fR.
.SH EXAMPLES
Create a new QCOW2 diskimage and partition it
.IP
.EX
disk/qcowfs -n $size image.qcow2
disk/partfs /mnt/qcow/data
disk/mbr -m /386/mbr /dev/sdXX/data
disk/fdisk -baw /dev/sdXX/data
disk/prep /dev/sdXX/plan9
.EE
.SH SOURCE
.B /sys/src/cmd/disk/qcowfs.c
.SH SEE ALSO
.IR partfs (8),
.IR disksim (8),
.IR prep (8)
.SH HISTORY
.I qcowfs
first appeared in 9front (April, 2023).