diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-02-03 01:10:01 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-02-03 01:10:01 +0000 |
commit | 871a64fdf0f27cde50e4788e27df4b32c1b7c316 (patch) | |
tree | d3ffd0c2bea5b904eb48d8d494c41d80737bc4d1 | |
parent | ca380469a2183243988e25a79a168bedee3463da (diff) | |
download | src-871a64fdf0f27cde50e4788e27df4b32c1b7c316.tar.gz src-871a64fdf0f27cde50e4788e27df4b32c1b7c316.zip |
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.
Notes
Notes:
svn path=/head/; revision=110255
-rw-r--r-- | sys/ia64/ia64/sscdisk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ia64/ia64/sscdisk.c b/sys/ia64/ia64/sscdisk.c index e09fe9ff8358..64435b0f1cee 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); - |