From 765bef0991d7c87f20d122ac9b2b6dbe1e72c3a5 Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Wed, 18 Jun 2008 11:39:38 -0300 Subject: [PATCH] Don't fix /dev/null permissions if it fails in creation By doing so we'll be masking a symptom of the problem instead of fixing it. If permissions of /dev/null fail, most likely other problems will also happen (e.g. pts permissions). Keep /dev/null alarm (which leads to X server starting problems) to alert us if something is wrong. Signed-off-by: Claudio Matsuoka --- finit-alt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finit-alt.c b/finit-alt.c index 37c91cad..4181a030 100644 --- a/finit-alt.c +++ b/finit-alt.c @@ -316,7 +316,7 @@ int main() chardev("/dev/urandom", 0666, 1, 9); chardev("/dev/ptmx", 0666, 5, 2); chardev("/dev/null", 0666, 1, 3); - chmod("/dev/null", 0666); /* blino's sanity check */ + //chmod("/dev/null", 0666); /* blino's sanity check */ chardev("/dev/mem", 0640, 1, 1); chardev("/dev/tty0", 0660, 4, 0); chardev("/dev/input/mice", 0660, 13, 63);