MF22: reset root flags properly.

This commit is contained in:
jkh 1998-02-06 04:35:21 +00:00
parent 922c148870
commit 9ed4533599
3 changed files with 9 additions and 3 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);