Don't warn about unknown mount types, since they most likely simply mean

that the right module hasn't been loaded yet (and mount(8) will do so
when necessary).
This commit is contained in:
Dag-Erling Smørgrav 2000-09-06 17:44:07 +00:00
parent 1eb81f6059
commit 81667275a9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65525

View File

@ -214,10 +214,8 @@ umountall(char **typelist)
strcmp(fs->fs_type, FSTAB_RQ))
continue;
/* If an unknown file system type, complain. */
if (getvfsbyname(fs->fs_vfstype, &vfc) == -1) {
warnx("%s: unknown mount type", fs->fs_vfstype);
if (getvfsbyname(fs->fs_vfstype, &vfc) == -1)
continue;
}
if (checkvfsname(fs->fs_vfstype, typelist))
continue;