From cabb03fc7603cc6c4dc95bbd152bf907453d4eff Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Tue, 20 Nov 2001 23:48:00 +0000 Subject: [PATCH] We only have slices on i386 and IA-64. --- sys/kern/vfs_conf.c | 6 +++++- sys/kern/vfs_mount.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c index 98c3f134fc7..595a3235d8d 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(" : Mount using filesystem \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(" Abort manual input\n"); printf("\nmountroot> "); diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 98c3f134fc7..595a3235d8d 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(" : Mount using filesystem \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(" Abort manual input\n"); printf("\nmountroot> ");