From c610f2da0396216d46836288bed1772b4730dbe5 Mon Sep 17 00:00:00 2001 From: jkh Date: Fri, 6 Feb 1998 04:35:21 +0000 Subject: MF22: reset root flags properly. --- release/sysinstall/label.c | 4 +++- usr.sbin/sade/label.c | 4 +++- usr.sbin/sysinstall/label.c | 4 +++- 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); -- cgit v1.1