mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
Remove the seat-belts from the root partition creation code; for some
reason I'm *always* getting CHUNK_PAST_1024 set now, even when it's definitely not! :-( Poul, can you perhaps take a look? Thanks!
This commit is contained in:
parent
d0eeafc570
commit
498e6d5df3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8577
@ -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.2 1995/05/16 11:37:16 jkh Exp $
|
||||
* $Id: label.c,v 1.3 1995/05/17 14:39:45 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -211,6 +211,7 @@ get_mountpoint(struct chunk *parent, struct chunk *me)
|
||||
return NULL;
|
||||
}
|
||||
else if (!strcmp(val, "/")) {
|
||||
#if 0
|
||||
if (parent) {
|
||||
if (parent->flags & CHUNK_PAST_1024) {
|
||||
msgConfirm("This region cannot be used for your root partition as\nit is past the 1024'th cylinder mark and the system would not be\nable to boot from it. Please pick another location for your\nroot partition and try again!");
|
||||
@ -221,6 +222,7 @@ get_mountpoint(struct chunk *parent, struct chunk *me)
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (me)
|
||||
me->flags |= CHUNK_IS_ROOT;
|
||||
}
|
||||
|
@ -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.2 1995/05/16 11:37:16 jkh Exp $
|
||||
* $Id: label.c,v 1.3 1995/05/17 14:39:45 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -211,6 +211,7 @@ get_mountpoint(struct chunk *parent, struct chunk *me)
|
||||
return NULL;
|
||||
}
|
||||
else if (!strcmp(val, "/")) {
|
||||
#if 0
|
||||
if (parent) {
|
||||
if (parent->flags & CHUNK_PAST_1024) {
|
||||
msgConfirm("This region cannot be used for your root partition as\nit is past the 1024'th cylinder mark and the system would not be\nable to boot from it. Please pick another location for your\nroot partition and try again!");
|
||||
@ -221,6 +222,7 @@ get_mountpoint(struct chunk *parent, struct chunk *me)
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (me)
|
||||
me->flags |= CHUNK_IS_ROOT;
|
||||
}
|
||||
|
@ -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.2 1995/05/16 11:37:16 jkh Exp $
|
||||
* $Id: label.c,v 1.3 1995/05/17 14:39:45 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -211,6 +211,7 @@ get_mountpoint(struct chunk *parent, struct chunk *me)
|
||||
return NULL;
|
||||
}
|
||||
else if (!strcmp(val, "/")) {
|
||||
#if 0
|
||||
if (parent) {
|
||||
if (parent->flags & CHUNK_PAST_1024) {
|
||||
msgConfirm("This region cannot be used for your root partition as\nit is past the 1024'th cylinder mark and the system would not be\nable to boot from it. Please pick another location for your\nroot partition and try again!");
|
||||
@ -221,6 +222,7 @@ get_mountpoint(struct chunk *parent, struct chunk *me)
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (me)
|
||||
me->flags |= CHUNK_IS_ROOT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user