From 333f7a7f6215183685385bf431311e848433aab0 Mon Sep 17 00:00:00 2001 From: mar Date: Wed, 28 Jun 1989 13:42:09 +0000 Subject: [PATCH] extract type AFS filesystems --- gen/hesiod.qc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gen/hesiod.qc b/gen/hesiod.qc index dfdd0af0..73ed1194 100644 --- a/gen/hesiod.qc +++ b/gen/hesiod.qc @@ -503,6 +503,12 @@ do_filsys() fprintf(out, "%s.filsys\tHS UNSPECA \"%s %s %s %s %s\"\n", name, type, loc, machbuf, access, mount); } + } else if (!strcmp(type, "AFS")) { + strtrim(loc); + strtrim(access); + strtrim(mount); + fprintf(out, "%s.filsys\tHS UNSPECA \"AFS %s %s %s\"\n", + name, loc, access, mount); } else if (!strcmp(type, "ERR")) { strtrim(comments); fprintf(out, "%s.filsys\tHS UNSPECA \"ERR %s\"\n", @@ -538,6 +544,12 @@ do_filsys() fprintf(out, "%s.filsys\tHS UNSPECA \"%s %s %s %s %s\"\n", group, type, loc, machbuf, access, mount); } + } else if (!strcmp(type, "AFS")) { + strtrim(loc); + strtrim(access); + strtrim(mount); + fprintf(out, "%s.filsys\tHS UNSPECA \"AFS %s %s %s\"\n", + group, loc, access, mount); } else if (!strcmp(type, "ERR")) { strtrim(comments); fprintf(out, "%s.filsys\tHS UNSPECA \"ERR %s\"\n", -- 2.45.1