From d1c39543c259f76720a4d9c173d7d15f6fa753d7 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Thu, 22 Dec 2022 09:52:41 +0100 Subject: give the ext4 image a disk label - this allows the kernel cmdline and fstab to refer to it by label instead of by /dev/sda or /dev/vda (depending on whether the disk is attached to qemu via virtio or not) - it allows other consumers of the image to detect that this is an image created by debvm and then treat it accordingly --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6331652..fd1c8cc 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,10 @@ installed: What is this image format precisely? ==================================== -The image is a sparse ext4 file system image. It contains the root filesystem -of a (Debian) installation including an init system and a kernel. There is no -partition table or bootloader. The following paths are assumed inside: +The image is a sparse ext4 file system image with a disk label "debvm". It +contains the root filesystem of a (Debian) installation including an init +system and a kernel. There is no partition table or bootloader. The following +paths are assumed inside: * `/bin/true` is used to detect the architecture of an image * `/vmlinuz` must be a symbolic link pointing to a regular file containing the kernel. -- cgit v1.2.3