Changeset 3118


Ignore:
Timestamp:
May 10, 2013, 8:53:56 PM (7 years ago)
Author:
bruno
Message:

r5280@localhost: bruno | 2013-05-07 23:44:13 +0200

  • mindi now copies sg_inq, sg_reset and sg_map in the ramdisk in order to be able to have them at restore time. This will allow to put back SCSI tapes attached to SCSI controllers in sequential mode, when they remain in CD mode after an OBDR boot. rcS doesn't use it yet put will shortly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3117 r3118  
    27702770        if [ -x /usr/bin/sg_wr_mode ]; then
    27712771            mkdir -p $mountpoint/usr/bin
    2772             cp -a /usr/bin/sg_wr_mode $mountpoint/usr/bin
    2773             LogIt "INFO: Copying /usr/bin/sg_wr_mode to ramdisk for improved SCSI OBDR support"
     2772            lis="/usr/bin/sg_map /usr/bin/sg_inq /usr/bin/sg_reset"
     2773            LocateDeps $lis > $MINDI_TMP/obdr.lis
     2774            (cd $mountpoint ; tar cf - $lis -C /  `sort -u $MINDI_TMP/obdr.lis` 2>> $MINDI_TMP/$$.log | tar xf - || LogIt "ERROR: Problem in obdr.lis analysis" $MINDI_TMP/$$.log)
     2775            LogIt "INFO: Copying /usr/bin/sg_reset to ramdisk for improved SCSI OBDR support"
    27742776            found=1
    27752777        fi
Note: See TracChangeset for help on using the changeset viewer.