summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-02-06 04:35:21 +0000
committerjkh <jkh@FreeBSD.org>1998-02-06 04:35:21 +0000
commitc610f2da0396216d46836288bed1772b4730dbe5 (patch)
treef90ffc2c5175a709a28f84477abb44c805ccf83c
parent678cd6e7de9a873f8a294e4a0143e2bffa6e8893 (diff)
downloadFreeBSD-src-c610f2da0396216d46836288bed1772b4730dbe5.zip
FreeBSD-src-c610f2da0396216d46836288bed1772b4730dbe5.tar.gz
MF22: reset root flags properly.
-rw-r--r--release/sysinstall/label.c4
-rw-r--r--usr.sbin/sade/label.c4
-rw-r--r--usr.sbin/sysinstall/label.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/release/sysinstall/label.c b/release/sysinstall/label.c
index 4b109f4..1cd03fd 100644
--- a/release/sysinstall/label.c
+++ b/release/sysinstall/label.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: label.c,v 1.63.2.15 1997/11/05 05:54:27 obrien Exp $
+ * $Id: label.c,v 1.80 1997/11/05 06:11:26 obrien Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -1184,6 +1184,8 @@ diskLabelNonInteractive(Device *dev)
type = PART_FILESYSTEM;
if (!strcmp(mpoint, "/"))
flags |= CHUNK_IS_ROOT;
+ else
+ flags &= ~CHUNK_IS_ROOT;
}
if (!sz)
sz = space_free(c1);
diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c
index 4b109f4..1cd03fd 100644
--- a/usr.sbin/sade/label.c
+++ b/usr.sbin/sade/label.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: label.c,v 1.63.2.15 1997/11/05 05:54:27 obrien Exp $
+ * $Id: label.c,v 1.80 1997/11/05 06:11:26 obrien Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -1184,6 +1184,8 @@ diskLabelNonInteractive(Device *dev)
type = PART_FILESYSTEM;
if (!strcmp(mpoint, "/"))
flags |= CHUNK_IS_ROOT;
+ else
+ flags &= ~CHUNK_IS_ROOT;
}
if (!sz)
sz = space_free(c1);
diff --git a/usr.sbin/sysinstall/label.c b/usr.sbin/sysinstall/label.c
index 4b109f4..1cd03fd 100644
--- a/usr.sbin/sysinstall/label.c
+++ b/usr.sbin/sysinstall/label.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: label.c,v 1.63.2.15 1997/11/05 05:54:27 obrien Exp $
+ * $Id: label.c,v 1.80 1997/11/05 06:11:26 obrien Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -1184,6 +1184,8 @@ diskLabelNonInteractive(Device *dev)
type = PART_FILESYSTEM;
if (!strcmp(mpoint, "/"))
flags |= CHUNK_IS_ROOT;
+ else
+ flags &= ~CHUNK_IS_ROOT;
}
if (!sz)
sz = space_free(c1);
OpenPOWER on IntegriCloud