summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-02-03 01:10:01 +0000
committermarcel <marcel@FreeBSD.org>2003-02-03 01:10:01 +0000
commit75bf49b53c8cfeadacd0e5be2d7ef780f4c9658f (patch)
treed3ffd0c2bea5b904eb48d8d494c41d80737bc4d1 /sys/ia64
parentc41203831b757432b9a1ed2f554b7c1efe380242 (diff)
downloadFreeBSD-src-75bf49b53c8cfeadacd0e5be2d7ef780f4c9658f.zip
FreeBSD-src-75bf49b53c8cfeadacd0e5be2d7ef780f4c9658f.tar.gz
Don't use the 'c' partition for mounting root. A disklabel is very
likely not present under the simulator. If multiple partitions are present on the virtual disk, then the 'a' partition would be the most logical choice. Nowadays partitions are GPT based, which would make the assumption of a disklabel even more questionable. Given all the possible scenarios, assuming a raw "device" seems best.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/sscdisk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ia64/ia64/sscdisk.c b/sys/ia64/ia64/sscdisk.c
index e09fe9f..64435b0 100644
--- a/sys/ia64/ia64/sscdisk.c
+++ b/sys/ia64/ia64/sscdisk.c
@@ -253,8 +253,7 @@ static void
ssc_takeroot(void *junk)
{
if (sscrootready)
- rootdevnames[0] = "ufs:/dev/sscdisk0c";
+ rootdevnames[0] = "ufs:/dev/sscdisk0";
}
SYSINIT(ssc_root, SI_SUB_MOUNT_ROOT, SI_ORDER_FIRST, ssc_takeroot, NULL);
-
OpenPOWER on IntegriCloud