From 2d3fabb736e681d1b3f5f91e2d7897ea35aa4c58 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 20 Nov 2026 04:12:43 +0000 Subject: run-firecracker-vm: no /home disk without --home Without --home, /home is now simply part of the guest's root file system (a tmpfs, gone when it exits, as before), instead of a scratch disk. With --home, the disk is attached after the images, and the run script puts fc.home on the kernel command line, which makes a small generator in the guest mount it, so a guest without it doesn't wait for a drive that isn't there. The images are back at vdb, vdc, ... --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a54ae48..66eed4a 100644 --- a/README.md +++ b/README.md @@ -65,8 +65,9 @@ removed when the guest exits. To keep it across boots: ``` The file gets created (sparse, default 16G) if it doesn't exist. Only one -VM at a time can use it. `/home` works the same way, on a disk of its -own (scratch unless given, so it can be kept apart from the store): +VM at a time can use it. `/home` is gone when the guest exits, too, +unless given a disk of its own, which works the same way (kept apart +from the store, so either can be kept or thrown away): ```sh ./result/bin/run-firecracker-vm --home ~/fc-home.img [--home-size 50G] -- cgit v1.3.1