aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/run-firecracker-vm
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-25 12:24:39 +0000
committertv <tv@krebsco.de>2026-11-25 12:27:25 +0000
commit39012ddac260255a60bbf99777e9cf1ba9bb219b (patch)
tree26288cb3ce97d62893fae22833a137f1082e7c05 /pkgs/run-firecracker-vm
parent312605171f6e3ef59a0f7c0cffc69e98c346a60c (diff)
layers/nix.nix: fc-drop-caches, for 9P's stale caches
9P with cache=loose (the host's store; /nixpkgs with --nixpkgs-cache=loose, which evaluates three times as fast as without) never asks the host again: a file changed on the host keeps its old size and contents in the guest (nix then reads a truncated aliases.nix), and a name looked up before the host had it stays missing, until the guest drops its cached dentries and inodes, which only root can. fc-drop-caches lets anyone: a setuid wrapper for a program that takes no input and only ever writes 2 to drop_caches.
Diffstat (limited to 'pkgs/run-firecracker-vm')
0 files changed, 0 insertions, 0 deletions