From 1bb6c184f4aff2451af0aba600a8ba08d7c947e5 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 20 Nov 2026 03:49:29 +0000 Subject: run-firecracker-vm: /home on a disk of its own, --home /home is now on its own disk: a scratch file, removed when the guest exits, or with --home FILE, one that persists (created if it doesn't exist, sparse, --home-size, default 16G), handled like the store's (--store), and also locked against use by two VMs. Separate from the store, so either can be kept or thrown away. The images move one drive up (vdc, vdd, ...). --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 2b6446a..a54ae48 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,12 @@ 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. +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): + +```sh +./result/bin/run-firecracker-vm --home ~/fc-home.img [--home-size 50G] +``` `/nixpkgs` is the nixpkgs the guest was built from (``, checkout or not); `--nixpkgs DIR` serves another one. It's not cached in the -- cgit v1.3.1