Version 1 (modified by niles, 10 years ago) (diff) |
---|
Naming partitions to work with the sum_chown program
The sum_chown program requires that SUM partitions are named according to a convention. At one point in time, the file sum_chown.c defined the naming convention that SUMS directories had to match as being :
#define PATTERN "^/SUM[0-9]*/D[0-9]+$"
This meant that a partition named "/SUM02" would be accepted, but "/SUMS02" would not. Later versions of NetDRMS changed this to :
#define PATTERN "^/SUM.*/D[0-9]+$"
Which only requires that the partition name starts with "/SUM".
If you have a partition that does not follow this convention, you can put in a symbolic link that does follow it. Alternatively, since sum_chown is redundant if you are running as the production user, you should be able to move the sum_chown executable to another name and then edit a script named sum_chown that simply exits with non-error status.