From ddae6cad4bd8832fcbecf9f871b0fab446182627 Mon Sep 17 00:00:00 2001 From: des Date: Wed, 6 Sep 2000 17:44:07 +0000 Subject: 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 93b50c0..57baed9 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; -- cgit v1.1