From 81667275a92e647eddd30ab1af8bd8c6479a6af7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 6 Sep 2000 17:44:07 +0000 Subject: [PATCH] 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). --- sbin/umount/umount.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sbin/umount/umount.c b/sbin/umount/umount.c index 93b50c042fa7..57baed99de2a 100644 --- a/sbin/umount/umount.c +++ b/sbin/umount/umount.c @@ -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;