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 /tmp at bootstrap, default T...
details: https://anonhg.NetBSD.org/src/rev/ca59ee6ba82a
branches: trunk
changeset: 796142:ca59ee6ba82a
user: pooka <pooka%NetBSD.org@localhost>
date: Thu May 22 12:31:28 2014 +0000
description:
create /tmp at bootstrap, default TMPDIR used by some programs (e.g. ed)
diffstat:
sys/rump/librump/rumpvfs/rump_vfs.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r aeb5697772ac -r ca59ee6ba82a sys/rump/librump/rumpvfs/rump_vfs.c
--- a/sys/rump/librump/rumpvfs/rump_vfs.c Thu May 22 00:28:32 2014 +0000
+++ b/sys/rump/librump/rumpvfs/rump_vfs.c Thu May 22 12:31:28 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_vfs.c,v 1.78 2014/04/25 18:31:35 pooka Exp $ */
+/* $NetBSD: rump_vfs.c,v 1.79 2014/05/22 12:31:28 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.78 2014/04/25 18:31:35 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.79 2014/05/22 12:31:28 pooka Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -135,8 +135,9 @@
vfs_attach(&rumpfs_vfsops);
vfs_mountroot();
- /* "mtree": create /dev */
+ /* "mtree": create /dev and /tmp */
do_sys_mkdir("/dev", 0755, UIO_SYSSPACE);
+ do_sys_mkdir("/tmp", 1777, UIO_SYSSPACE);
rump_proc_vfs_init = pvfs_init;
rump_proc_vfs_release = pvfs_rele;
Home |
Main Index |
Thread Index |
Old Index