aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-11-20 23:48:00 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-11-20 23:48:00 +0000
commitcabb03fc7603cc6c4dc95bbd152bf907453d4eff (patch)
tree713b9bfaca1214adf68d8f247c8bb5f33350feea
parent114de50e0d2e6278d297e40c33258ae8f0490764 (diff)
Notes
-rw-r--r--sys/kern/vfs_conf.c6
-rw-r--r--sys/kern/vfs_mount.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c
index 98c3f134fc7f1..595a3235d8d2b 100644
--- a/sys/kern/vfs_conf.c
+++ b/sys/kern/vfs_conf.c
@@ -267,7 +267,11 @@ vfs_mountroot_ask(void)
for(;;) {
printf("\nManual root filesystem specification:\n");
printf(" <fstype>:<device> Mount <device> using filesystem <fstype>\n");
- printf(" eg. ufs:%sda0s1a\n", _PATH_DEV);
+#if defined(__i386__) || defined(__ia64__)
+ printf(" eg. ufs:%s%s\n", _PATH_DEV, "da0s1a");
+#else
+ printf(" eg. ufs:%s%s\n", _PATH_DEV, "da0a");
+#endif
printf(" ? List valid disk boot devices\n");
printf(" <empty line> Abort manual input\n");
printf("\nmountroot> ");
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 98c3f134fc7f1..595a3235d8d2b 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -267,7 +267,11 @@ vfs_mountroot_ask(void)
for(;;) {
printf("\nManual root filesystem specification:\n");
printf(" <fstype>:<device> Mount <device> using filesystem <fstype>\n");
- printf(" eg. ufs:%sda0s1a\n", _PATH_DEV);
+#if defined(__i386__) || defined(__ia64__)
+ printf(" eg. ufs:%s%s\n", _PATH_DEV, "da0s1a");
+#else
+ printf(" eg. ufs:%s%s\n", _PATH_DEV, "da0a");
+#endif
printf(" ? List valid disk boot devices\n");
printf(" <empty line> Abort manual input\n");
printf("\nmountroot> ");