NAME
qcowfs – QCOW2 file system

SYNOPSIS
disk/qcowfs [ –n size ] [ –m mtpt ] [ –s service ] diskimage

DESCRIPTION
Qcowfs exposes a data file using the provided diskimage as the backing store.

The –n flag truncates imagefile with the specified size (in bytes) before using it. The –m flag sets the mtpt (default /mnt/qcow). The –s flag causes qcowfs to post its 9P service as /srv/service.

EXAMPLES
Create a new QCOW2 diskimage and partition it
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

SOURCE
/sys/src/cmd/disk/qcowfs.c

SEE ALSO
partfs(8), disksim(8), prep(8)

HISTORY
qcowfs first appeared in 9front (April, 2023).