diff options
author | des <des@FreeBSD.org> | 2000-09-06 17:44:07 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2000-09-06 17:44:07 +0000 |
commit | ddae6cad4bd8832fcbecf9f871b0fab446182627 (patch) | |
tree | 63d238ee680338839bd782dd139cc3e209568c7c | |
parent | da80bb19f6cbfa0873feb3468ee79821ce8ea3d2 (diff) | |
download | FreeBSD-src-ddae6cad4bd8832fcbecf9f871b0fab446182627.zip FreeBSD-src-ddae6cad4bd8832fcbecf9f871b0fab446182627.tar.gz |
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).
-rw-r--r-- | sbin/umount/umount.c | 4 |
1 files changed, 1 insertions, 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; |