| 1 | |
| 2 | === Naming partitions to work with the sum_chown program === |
| 3 | |
| 4 | 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 : |
| 5 | |
| 6 | {{{ |
| 7 | #define PATTERN "^/SUM[0-9]*/D[0-9]+$" |
| 8 | }}} |
| 9 | |
| 10 | This meant that a partition named "/SUM02" would be accepted, but "/SUMS02" would not. Later versions of NetDRMS changed this to : |
| 11 | |
| 12 | {{{ |
| 13 | #define PATTERN "^/SUM.*/D[0-9]+$" |
| 14 | }}} |
| 15 | |
| 16 | Which only requires that the partition name starts with "/SUM". |
| 17 | |
| 18 | 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. |
| 19 | |
| 20 | |
| 21 | |