aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-02-06 04:35:21 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-02-06 04:35:21 +0000
commitfc60b54d958c3cdf59660b49e17689609c9e2d87 (patch)
tree563657c42589684d954389752597ee3701bf64e7 /usr.sbin
parent34c7729f52821d1cbb41d4f25395da7da43db2fd (diff)
downloadsrc-fc60b54d958c3cdf59660b49e17689609c9e2d87.tar.gz
src-fc60b54d958c3cdf59660b49e17689609c9e2d87.zip
MF22: reset root flags properly.
Notes
Notes: svn path=/head/; revision=33132
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/label.c4
-rw-r--r--usr.sbin/sysinstall/label.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c
index 4b109f4e8d28..1cd03fd8b0f1 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 4b109f4e8d28..1cd03fd8b0f1 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);