mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
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:
parent
1eb81f6059
commit
81667275a9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65525
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user