IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2010, 5:51:46 PM (16 years ago)
Author:
watersc1
Message:

Updates to add neb-migrate code, and to fix repeated "can't find device info" bug in nebdiskd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/bin/nebdiskd

    r27103 r28446  
    224224                }
    225225            };
     226
     227            # fetch stats on the mounted device.  this has to be done AFTER
     228            # we determine if it's a valid mountpoint incase
     229            # is_mountpoint() invokes the automounter
     230            my $dev_info = df($mountpoint, 1024);
     231            unless (defined $dev_info) {
     232                $valid_mountpoint = 0;
     233            }
     234
    226235            if (!$valid_mountpoint) {
    227236                # try is_mountpoint() again if $retry > 1
     
    254263            # we determine if it's a valid mountpoint incase
    255264            # is_mountpoint() invokes the automounter
    256             my $dev_info = df($mountpoint, 1024);
     265            $dev_info = df($mountpoint, 1024);
    257266            unless (defined $dev_info) {
    258267                $log->error("can't find device info for $mountpoint");
Note: See TracChangeset for help on using the changeset viewer.