summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-21 14:31:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-21 14:31:54 +0000
commit750a8db140259c9fe21cd465f178259641d05a62 (patch)
tree93cc8d38557506f71c5a9230745eb8bf06f32345
parent2b0fa1e8763048fedcabf1ab01ab53ae49e8e1b3 (diff)
only deal with ffs filesystems; netbsd pr#2652, greywolf@starwolf.com
(should we deal with mfs?)
-rw-r--r--sbin/dump/optr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c
index 51470e2b565..ba1f0809405 100644
--- a/sbin/dump/optr.c
+++ b/sbin/dump/optr.c
@@ -440,6 +440,8 @@ getfstab()
return;
}
while ((fs = getfsent()) != NULL) {
+ if (strcmp(fs->fs_vfstype, "ffs"))
+ continue;
if (strcmp(fs->fs_type, FSTAB_RW) &&
strcmp(fs->fs_type, FSTAB_RO) &&
strcmp(fs->fs_type, FSTAB_RQ))