summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-19 16:08:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-19 16:08:20 +0000
commitdde413da9c1dab57044ac0439a396f0266748f49 (patch)
tree298fe4bd79294fb5439cba80085d18138ffc951b
parentc8cd820bf20026b7b2f88426f9d3b210c789392a (diff)
do not force single if rd root
-rw-r--r--sys/arch/alpha/alpha/rd_root.c7
-rw-r--r--sys/arch/amiga/dev/rd_root.c6
-rw-r--r--sys/arch/arc/dev/rd_root.c4
-rw-r--r--sys/arch/hp300/dev/rd_root.c6
-rw-r--r--sys/arch/i386/i386/rd_root.c4
-rw-r--r--sys/arch/mac68k/dev/rd_root.c6
-rw-r--r--sys/arch/mvme68k/dev/rd_root.c4
-rw-r--r--sys/arch/powerpc/powerpc/rd_root.c4
-rw-r--r--sys/arch/sparc/sparc/rd_root.c6
-rw-r--r--sys/arch/sun3/dev/rd_root.c6
10 files changed, 6 insertions, 47 deletions
diff --git a/sys/arch/alpha/alpha/rd_root.c b/sys/arch/alpha/alpha/rd_root.c
index ac46e33d9ee..3c7d437050e 100644
--- a/sys/arch/alpha/alpha/rd_root.c
+++ b/sys/arch/alpha/alpha/rd_root.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rd_root.c,v 1.1 1996/10/30 22:38:26 niklas Exp $ */
+/* $OpenBSD: rd_root.c,v 1.2 1998/07/19 16:08:02 deraadt Exp $ */
/* $NetBSD: rd_root.c,v 1.5 1996/10/13 02:59:47 christos Exp $ */
/*
@@ -76,9 +76,4 @@ rd_open_hook(unit, rd)
int unit;
struct rd_conf *rd;
{
-
- if (unit == 0) {
- /* The root ramdisk only works single-user. */
- boothowto |= RB_SINGLE;
- }
}
diff --git a/sys/arch/amiga/dev/rd_root.c b/sys/arch/amiga/dev/rd_root.c
index 8ddd39d6b07..a7954df58b8 100644
--- a/sys/arch/amiga/dev/rd_root.c
+++ b/sys/arch/amiga/dev/rd_root.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rd_root.c,v 1.2 1997/05/29 01:14:22 niklas Exp $ */
+/* $OpenBSD: rd_root.c,v 1.3 1998/07/19 16:08:04 deraadt Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@@ -73,8 +73,4 @@ rd_open_hook(unit, rd)
int unit;
struct rd_conf *rd;
{
- if (unit == 0) {
- /* The root ramdisk only works single-user. */
- boothowto |= RB_SINGLE;
- }
}
diff --git a/sys/arch/arc/dev/rd_root.c b/sys/arch/arc/dev/rd_root.c
index 6474f0d2188..d687a0183a9 100644
--- a/sys/arch/arc/dev/rd_root.c
+++ b/sys/arch/arc/dev/rd_root.c
@@ -73,8 +73,4 @@ rd_open_hook(unit, rd)
int unit;
struct rd_conf *rd;
{
- if (unit == 0) {
- /* The root ramdisk only works single-user. */
- boothowto |= RB_SINGLE;
- }
}
diff --git a/sys/arch/hp300/dev/rd_root.c b/sys/arch/hp300/dev/rd_root.c
index 561cd6a291f..f8218c1f691 100644
--- a/sys/arch/hp300/dev/rd_root.c
+++ b/sys/arch/hp300/dev/rd_root.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rd_root.c,v 1.3 1997/04/20 08:27:31 downsj Exp $ */
+/* $OpenBSD: rd_root.c,v 1.4 1998/07/19 16:08:07 deraadt Exp $ */
/* $NetBSD: rd_root.c,v 1.1 1996/05/20 01:17:31 chuck Exp $ */
/*
@@ -74,8 +74,4 @@ rd_open_hook(unit, rd)
int unit;
struct rd_conf *rd;
{
- if (unit == 0) {
- /* The root ramdisk only works single-user. */
- boothowto |= RB_SINGLE;
- }
}
diff --git a/sys/arch/i386/i386/rd_root.c b/sys/arch/i386/i386/rd_root.c
index 6474f0d2188..d687a0183a9 100644
--- a/sys/arch/i386/i386/rd_root.c
+++ b/sys/arch/i386/i386/rd_root.c
@@ -73,8 +73,4 @@ rd_open_hook(unit, rd)
int unit;
struct rd_conf *rd;
{
- if (unit == 0) {
- /* The root ramdisk only works single-user. */
- boothowto |= RB_SINGLE;
- }
}
diff --git a/sys/arch/mac68k/dev/rd_root.c b/sys/arch/mac68k/dev/rd_root.c
index 826c241b7b8..8beeff168b4 100644
--- a/sys/arch/mac68k/dev/rd_root.c
+++ b/sys/arch/mac68k/dev/rd_root.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rd_root.c,v 1.3 1996/05/26 18:35:33 briggs Exp $ */
+/* $OpenBSD: rd_root.c,v 1.4 1998/07/19 16:08:13 deraadt Exp $ */
/* $NetBSD: rd_root.c,v 1.3 1996/05/05 06:17:09 briggs Exp $ */
/*
@@ -70,8 +70,4 @@ rd_open_hook(unit, rd)
int unit;
struct rd_conf *rd;
{
- if (unit == 0) {
- /* The root ramdisk only works single-user. */
- boothowto |= RB_SINGLE;
- }
}
diff --git a/sys/arch/mvme68k/dev/rd_root.c b/sys/arch/mvme68k/dev/rd_root.c
index d60454f4593..2840e605217 100644
--- a/sys/arch/mvme68k/dev/rd_root.c
+++ b/sys/arch/mvme68k/dev/rd_root.c
@@ -72,8 +72,4 @@ rd_open_hook(unit, rd)
int unit;
struct rd_conf *rd;
{
- if (unit == 0) {
- /* The root ramdisk only works single-user. */
- boothowto |= RB_SINGLE;
- }
}
diff --git a/sys/arch/powerpc/powerpc/rd_root.c b/sys/arch/powerpc/powerpc/rd_root.c
index 2b1e7217ff5..1879b514139 100644
--- a/sys/arch/powerpc/powerpc/rd_root.c
+++ b/sys/arch/powerpc/powerpc/rd_root.c
@@ -72,8 +72,4 @@ rd_open_hook(unit, rd)
int unit;
struct rd_conf *rd;
{
- if (unit == 0) {
- /* The root ramdisk only works single-user. */
- boothowto |= RB_SINGLE;
- }
}
diff --git a/sys/arch/sparc/sparc/rd_root.c b/sys/arch/sparc/sparc/rd_root.c
index 7cffb24430f..ab44958b3d4 100644
--- a/sys/arch/sparc/sparc/rd_root.c
+++ b/sys/arch/sparc/sparc/rd_root.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rd_root.c,v 1.2 1997/08/08 08:27:40 downsj Exp $ */
+/* $OpenBSD: rd_root.c,v 1.3 1998/07/19 16:08:18 deraadt Exp $ */
/* $NetBSD: rd_root.c,v 1.2 1996/03/27 16:38:33 perry Exp $ */
/*
@@ -74,8 +74,4 @@ rd_open_hook(unit, rd)
int unit;
struct rd_conf *rd;
{
- if (unit == 0) {
- /* The root ramdisk only works single-user. */
- boothowto |= RB_SINGLE;
- }
}
diff --git a/sys/arch/sun3/dev/rd_root.c b/sys/arch/sun3/dev/rd_root.c
index 355be413d2d..c1627e75e43 100644
--- a/sys/arch/sun3/dev/rd_root.c
+++ b/sys/arch/sun3/dev/rd_root.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rd_root.c,v 1.6 1997/01/16 04:03:52 kstailey Exp $ */
+/* $OpenBSD: rd_root.c,v 1.7 1998/07/19 16:08:19 deraadt Exp $ */
/* $NetBSD: rd_root.c,v 1.7 1996/11/20 18:56:58 gwr Exp $ */
/*-
@@ -83,8 +83,4 @@ rd_open_hook(unit, rd)
int unit;
struct rd_conf *rd;
{
- if (unit == 0) {
- /* The root ramdisk only works single-user. */
- boothowto |= RB_SINGLE;
- }
}