When listing with -f, skip all memory disks that are not vnode-backed.

Noticed by:	kevlo
MFC after:	3 days
This commit is contained in:
delphij 2013-07-02 19:42:47 +00:00
parent 935ea81356
commit 1559c2306b

View File

@ -450,7 +450,8 @@ md_list(const char *units, int opt, const char *fflag)
continue;
else
ffound = 1;
}
} else if (fflag != NULL)
continue;
if (nflag && strncmp(pp->lg_name, MD_NAME, 2) == 0)
printf("%s", pp->lg_name + 2);
else