From: hadaq Date: Mon, 27 Sep 2010 15:54:10 +0000 (+0000) Subject: Option to exclude disks added. Sergey. X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=0f1b6ef5a093637ae3908db91712ab3b164d3f85;p=daqdata.git Option to exclude disks added. Sergey. --- diff --git a/disks/disks.c b/disks/disks.c index 4d644c7..a425781 100644 --- a/disks/disks.c +++ b/disks/disks.c @@ -31,6 +31,8 @@ int shmem_nums[16]; /* Numbers for found shared memory segments int nrOfShmSegms; /* Total number of found shared memory segments */ typedef struct TheArgsS { + int excludeDisks[22]; + int excludeDisksCnt; int sleepTime; /*seconds*/ int debug; } TheArgs; @@ -38,9 +40,10 @@ typedef struct TheArgsS { static void usage(const char *progName) { printf( "Usage: %s\n", progName); - printf( " [-h|--help] : Print this help.\n"); - printf( " [-s|--sleep