diff options
author | obrien <obrien@FreeBSD.org> | 2001-11-20 23:48:00 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-11-20 23:48:00 +0000 |
commit | 33425adab60f16afec99080a04f626aaa5c2344c (patch) | |
tree | 713b9bfaca1214adf68d8f247c8bb5f33350feea /sys | |
parent | c015c290eda89105de3efa6c03c9be3e20ba4c87 (diff) | |
download | FreeBSD-src-33425adab60f16afec99080a04f626aaa5c2344c.zip FreeBSD-src-33425adab60f16afec99080a04f626aaa5c2344c.tar.gz |
We only have slices on i386 and IA-64.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_conf.c | 6 | ||||
-rw-r--r-- | 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 98c3f13..595a323 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 98c3f13..595a323 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> "); |