vos-examine-print-extra-stuff-if-so-compiled-20020725
authorJeffrey Hutzelman <jhutz@cmu.edu>
Fri, 26 Jul 2002 06:45:51 +0000 (06:45 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 26 Jul 2002 06:45:51 +0000 (06:45 +0000)
the --enable-full-vos-listvol-switch configure switch also compiles
in this extended vos examine info

src/volser/vos.c

index 266d761..1d57a19 100644 (file)
@@ -487,17 +487,17 @@ int fast,longlist, disp;
            fprintf(STDOUT,"    MaxQuota %10d K \n",pntr->maxquota);
            fprintf(STDOUT,"    Creation    %s",
                    ctime((time_t *)&pntr->creationDate));
-#if 0
+#ifdef FULL_LISTVOL_SWITCH
            fprintf(STDOUT,"    Copy        %s",
                    ctime((time_t *)&pntr->copyDate));
            if(!pntr->backupDate)
-               fprintf(STDOUT,"    Backup      Never\n");
+             fprintf(STDOUT,"    Backup      Never\n");
            else
-               fprintf(STDOUT,"    Backup      %s",
-                       ctime((time_t *)&pntr->backupDate));
+             fprintf(STDOUT,"    Backup      %s",
+                     ctime((time_t *)&pntr->backupDate));
            if (pntr->accessDate)
-               fprintf(STDOUT,"    Last Access %s",
-                       ctime((time_t *)&pntr->accessDate));
+             fprintf(STDOUT,"    Last Access %s",
+                     ctime((time_t *)&pntr->accessDate));
 #endif
            if(pntr->updateDate < pntr->creationDate)
                fprintf(STDOUT,"    Last Update %s",
@@ -636,14 +636,14 @@ static void XDisplayFormat(a_xInfoP, a_servID, a_partID, a_totalOKP,
                        a_xInfoP->maxquota);
                fprintf(STDOUT, "    Creation    %s",
                        ctime((time_t *)&a_xInfoP->creationDate));
-#if 0
+#ifdef FULL_LISTVOL_SWITCH
                fprintf(STDOUT,"    Copy        %s",
                        ctime((time_t *)&a_xInfoP->copyDate));
                if(!a_xInfoP->backupDate)
                    fprintf(STDOUT,"    Backup      Never\n");
                else
                    fprintf(STDOUT,"    Backup      %s",
-                       ctime((time_t *)&a_xInfoP->backupDate));
+                           ctime((time_t *)&a_xInfoP->backupDate));
                if (a_xInfoP->accessDate)
                    fprintf(STDOUT,"    Last Access %s",
                            ctime((time_t *)&a_xInfoP->accessDate));