Remove the use of _PATH_DEV in the example.

The kernel certainly doesn't use _PATH_DEV or even /dev/ to find the device.
It cannot, since "/" has not been mounted.  Maybe the only affect of using
/dev/ is that it gets put in the mounted-from name for "/", so that mount(8),
etc., display an absolute path before "/" has been remounted.  Many have
never bothered typing the full path, and code that constructs a path in
rootdevnames[] never bothered to construct a full path, so the example
shouldn't have it.

Submitted by:	bde
This commit is contained in:
David E. O'Brien 2001-11-24 01:34:12 +00:00
parent 96f3cfa21e
commit d970bcc9db
2 changed files with 4 additions and 4 deletions

View File

@ -268,9 +268,9 @@ vfs_mountroot_ask(void)
printf("\nManual root filesystem specification:\n");
printf(" <fstype>:<device> Mount <device> using filesystem <fstype>\n");
#if defined(__i386__) || defined(__ia64__)
printf(" eg. ufs:%s%s\n", _PATH_DEV, "da0s1a");
printf(" eg. ufs:da0s1a\n");
#else
printf(" eg. ufs:%s%s\n", _PATH_DEV, "da0a");
printf(" eg. ufs:da0a\n");
#endif
printf(" ? List valid disk boot devices\n");
printf(" <empty line> Abort manual input\n");

View File

@ -268,9 +268,9 @@ vfs_mountroot_ask(void)
printf("\nManual root filesystem specification:\n");
printf(" <fstype>:<device> Mount <device> using filesystem <fstype>\n");
#if defined(__i386__) || defined(__ia64__)
printf(" eg. ufs:%s%s\n", _PATH_DEV, "da0s1a");
printf(" eg. ufs:da0s1a\n");
#else
printf(" eg. ufs:%s%s\n", _PATH_DEV, "da0a");
printf(" eg. ufs:da0a\n");
#endif
printf(" ? List valid disk boot devices\n");
printf(" <empty line> Abort manual input\n");