From 180f370298b647cec4fc3422a42159e7e4a95d7e Mon Sep 17 00:00:00 2001 From: stefan Date: Thu, 10 Feb 2011 06:47:22 +0000 Subject: [PATCH] - add the directories sbin and var git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@403 315a16e6-25f9-4109-90ae-ca3045a26c18 --- fs/initrd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/initrd.c b/fs/initrd.c index f96b00bb..6200a9ed 100644 --- a/fs/initrd.c +++ b/fs/initrd.c @@ -246,6 +246,8 @@ int initrd_init(void) /* create the directory bin and dev */ mkdir_fs(fs_root, "bin"); + mkdir_fs(fs_root, "sbin"); + mkdir_fs(fs_root, "var"); tmp = mkdir_fs(fs_root, "dev"); /* create the character device "null" */ null_init(tmp, "null");