Fix mount call for devfs.
Submitted by: bde
This commit is contained in:
parent
015056ae61
commit
a6534afb2a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24408
@ -248,9 +248,8 @@ main(argc, argv)
|
||||
if (optind != argc)
|
||||
warning("ignoring excess arguments");
|
||||
|
||||
/* Mount devfs on /dev */
|
||||
if (devfs) {
|
||||
mount(MOUNT_DEVFS, "/dev", MNT_NOEXEC|MNT_RDONLY, 0);
|
||||
mount("devfs", "/dev", MNT_NOEXEC|MNT_RDONLY, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user