Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/dev/lib/libcgd Create cgd block device files in the...
details: https://anonhg.NetBSD.org/src/rev/3397157c63c9
branches: trunk
changeset: 763053:3397157c63c9
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Mar 09 11:56:17 2011 +0000
description:
Create cgd block device files in the right directory.
hi pooka!
diffstat:
sys/rump/dev/lib/libcgd/component.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 60f31c6430d1 -r 3397157c63c9 sys/rump/dev/lib/libcgd/component.c
--- a/sys/rump/dev/lib/libcgd/component.c Wed Mar 09 11:43:36 2011 +0000
+++ b/sys/rump/dev/lib/libcgd/component.c Wed Mar 09 11:56:17 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: component.c,v 1.6 2010/03/01 13:12:19 pooka Exp $ */
+/* $NetBSD: component.c,v 1.7 2011/03/09 11:56:17 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.6 2010/03/01 13:12:19 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.7 2011/03/09 11:56:17 pooka Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -50,7 +50,7 @@
&cgd_cdevsw, &cmaj)) != 0)
panic("cannot attach cgd: %d", error);
- if ((error = rump_vfs_makedevnodes(S_IFBLK, "cgd0", 'a',
+ if ((error = rump_vfs_makedevnodes(S_IFBLK, "/dev/cgd0", 'a',
bmaj, 0, 7)) != 0)
panic("cannot create cooked cgd dev nodes: %d", error);
if ((error = rump_vfs_makedevnodes(S_IFCHR, "/dev/rcgd0", 'a',
Home |
Main Index |
Thread Index |
Old Index