]> andersk Git - moira.git/commitdiff
extract type AFS filesystems
authormar <mar>
Wed, 28 Jun 1989 13:42:09 +0000 (13:42 +0000)
committermar <mar>
Wed, 28 Jun 1989 13:42:09 +0000 (13:42 +0000)
gen/hesiod.qc

index dfdd0af057ca9ee06f6e1b278d2fb021fbcc5b10..73ed1194e79778c247121c38723cfce4319a359c 100644 (file)
@@ -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",
This page took 0.060355 seconds and 5 git commands to generate.