]> andersk Git - moira.git/commitdiff
added getFSM
authormar <mar>
Tue, 29 Oct 1991 15:44:44 +0000 (15:44 +0000)
committermar <mar>
Tue, 29 Oct 1991 15:44:44 +0000 (15:44 +0000)
clients/moira/attach.c

index 15e3df47b4c0ca1a43f6e2bc8bc58715a6033e0d..cfc072648ec47e766351a29481bd7fe2550cba75 100644 (file)
@@ -343,6 +343,27 @@ char **argv;
     return (DM_NORMAL);
 }
 
+/*     Function Name: GetFSM
+ *     Description: Get Filesystem information by machine.
+ *     Arguments: argc, argv - name of server in argv[1].
+ *     Returns: DM_NORMAL.
+ */
+
+/* ARGSUSED */
+int
+GetFSM(argc, argv)
+int argc;
+char **argv;
+{
+    struct qelem *top;
+
+    argv[1] = canonicalize_hostname(argv[1]);
+    top = GetFSInfo(MACHINE, argv[1]); /* get info. */
+    Loop(top, (void *) PrintFSInfo);
+    FreeQueue(top);            /* clean the queue. */
+    return (DM_NORMAL);
+}
+
 /*     Function Name: RealDeleteFS
  *     Description: Does the real deletion work.
  *     Arguments: info - array of char *'s containing all useful info.
This page took 0.045061 seconds and 5 git commands to generate.