From 8d84372beeeed6e31e9cd8a6563bdfaf4d72546b Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 14 May 2009 17:15:17 -0400 Subject: loader: Mount /tmp as tmpfs not ramfs so we can swap it out --- loader/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'loader') diff --git a/loader/init.c b/loader/init.c index feb9c5545..cc4ca689a 100644 --- a/loader/init.c +++ b/loader/init.c @@ -665,15 +665,15 @@ int main(int argc, char **argv) { } printf("done\n"); - /* we want our /tmp to be ramfs, but we also want to let people hack + /* we want our /tmp to be tmpfs, but we also want to let people hack * their initrds to add things like a ks.cfg, so this has to be a little * tricky */ if (!testing) { rename("/tmp", "/oldtmp"); mkdir("/tmp", 0755); - printf("mounting /tmp as ramfs... "); - if (mount("none", "/tmp", "ramfs", 0, NULL)) + printf("mounting /tmp as tmpfs... "); + if (mount("none", "/tmp", "tmpfs", 0, NULL)) fatal_error(1); printf("done\n"); -- cgit