IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 31, 2011, 2:52:18 PM (15 years ago)
Author:
eugene
Message:

merging changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/Nebulous/bin/neb-cull

    r25121 r30447  
    1717
    1818my ($min_copies, $server, $volume, $one_only);
    19 
     19my ($soft_volume);
    2020$server = $ENV{'NEB_SERVER'} unless $server;
    2121
     
    2525    'volume|v=s'    => \$volume,
    2626    'one_only|o'    => \$one_only,
     27    'soft_volume'   => \$soft_volume,
    2728) || pod2usage( 2 );
    2829
     
    4243    unless defined $neb;
    4344
     45if ($volume) {
     46    unless (($soft_volume)) {
     47        $volume = '~' . $volume;
     48    }
     49}
     50
    4451$volume ||= "any";
    4552$min_copies ||= 2;
     
    4855push @cull_args, $key;
    4956push @cull_args, $volume;
     57
     58# print "$key $volume\n";
     59# print "@cull_args\n";
     60
    5061
    5162if ($one_only) {
     
    95106
    96107Symbolic name of the volume to create the new instance on.
     108
     109Optional.
     110
     111=item * --soft_volume
     112
     113Treat the specified volume name as soft, and allow an instance to be culled
     114from another volume if the specified volume does not have an instance.
    97115
    98116Optional.
Note: See TracChangeset for help on using the changeset viewer.