diff options
author | Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> | 2022-12-22 09:52:41 +0100 |
---|---|---|
committer | Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> | 2022-12-22 11:47:33 +0100 |
commit | d1c39543c259f76720a4d9c173d7d15f6fa753d7 (patch) | |
tree | 3311cb9aa70fafed00c911f1e3054ff863c665e3 /README.md | |
parent | bdbae095951d18694ce787436af5643ef46e7f6b (diff) | |
download | debvm-d1c39543c259f76720a4d9c173d7d15f6fa753d7.tar.gz |
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
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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. |