use devtmpfs in initramfs

static device nodes don't work with virtio
This commit is contained in:
Daniel Barlow committed 2023-12-07 20:03:03 +00:00
1 parent 5adfb0230f
commit a8891461aa
2 files changed
+1 -6

No files matched your search

+1
View File
@@ -55,6 +55,7 @@ int main(int argc, char *argv[], char *envp[])
write(1, banner, strlen(banner));
AVER(mount("none", "/proc", "proc", 0, NULL));
AVER(mount("none", "/dev", "devtmpfs", 0, NULL));
int cmdline = open("/proc/cmdline", O_RDONLY, 0);