Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpvfs create /dev/null only after it's po...
details: https://anonhg.NetBSD.org/src/rev/cc4cf0b24152
branches: trunk
changeset: 785875:cc4cf0b24152
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Apr 04 11:21:37 2013 +0000
description:
create /dev/null only after it's possible to create /dev/null
diffstat:
sys/rump/librump/rumpvfs/rump_vfs.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (36 lines):
diff -r 8476280c4bf2 -r cc4cf0b24152 sys/rump/librump/rumpvfs/rump_vfs.c
--- a/sys/rump/librump/rumpvfs/rump_vfs.c Thu Apr 04 09:46:42 2013 +0000
+++ b/sys/rump/librump/rumpvfs/rump_vfs.c Thu Apr 04 11:21:37 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_vfs.c,v 1.72 2013/04/03 20:23:01 pooka Exp $ */
+/* $NetBSD: rump_vfs.c,v 1.73 2013/04/04 11:21:37 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.72 2013/04/03 20:23:01 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.73 2013/04/04 11:21:37 pooka Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -143,7 +143,6 @@
/* "mtree": create /dev */
do_sys_mkdir("/dev", 0777, UIO_SYSSPACE);
- rump_devnull_init();
rump_proc_vfs_init = pvfs_init;
rump_proc_vfs_release = pvfs_rele;
@@ -195,6 +194,9 @@
rump_vfs_builddevs(NULL, 0);
#endif
+ /* attach null device and create /dev/{null,zero} */
+ rump_devnull_init();
+
rump_component_init(RUMP_COMPONENT_VFS);
}
Home |
Main Index |
Thread Index |
Old Index