summaryrefslogtreecommitdiffstats
path: root/sbin/umount
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-09-06 17:44:07 +0000
committerdes <des@FreeBSD.org>2000-09-06 17:44:07 +0000
commitddae6cad4bd8832fcbecf9f871b0fab446182627 (patch)
tree63d238ee680338839bd782dd139cc3e209568c7c /sbin/umount
parentda80bb19f6cbfa0873feb3468ee79821ce8ea3d2 (diff)
downloadFreeBSD-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).
Diffstat (limited to 'sbin/umount')
-rw-r--r--sbin/umount/umount.c4
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;
OpenPOWER on IntegriCloud