Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virt-make-fs: Add --label option for setting filesystem label.
$ ./run ./tools/virt-make-fs /tmp/supermin-4.1.4.tar.gz /tmp/test.img $ ./run ./cat/virt-filesystems -a /tmp/test.img --all --long -h Name Type VFS Label MBR Size Parent /dev/sda filesystem ext2 - - 3.7M - /dev/sda device - - - 3.7M - $ ./run ./tools/virt-make-fs /tmp/supermin-4.1.4.tar.gz /tmp/test.img --label=BOOT $ ./run ./cat/virt-filesystems -a /tmp/test.img --all --long -h Name Type VFS Label MBR Size Parent /dev/sda filesystem ext2 BOOT - 3.7M - /dev/sda device - - - 3.7M - Thanks: Gerd Hoffmann (kraxel)
- Loading branch information