Changeset 3364 in MondoRescue for branches/3.2/mindi/mindi
- Timestamp:
- Mar 15, 2015, 3:02:52 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mindi
r3358 r3364 250 250 fi 251 251 else 252 echo -en "`basename $mappath | tr '.' '#' | sed s/#kmap#gz// | sed s/#inc#gz//` " | tr '#' '.'252 echo -en "`basename $mappath | tr '.' '#' | sed 's/#kmap#gz//' | sed 's/#inc#gz//'` " | tr '#' '.' 253 253 fi 254 254 … … 1596 1596 # Some distro have a dmsetup conf at that point so removing it Cf: http://trac.mondorescue.org/ticket/651 1597 1597 if [ "`which dmsetup`" != "" ]; then 1598 block_id="`echo $USBPART | sed 's |/dev/||g'`"1598 block_id="`echo $USBPART | sed 's/\/dev\///g'`" 1599 1599 if [[ "`dmsetup ls | awk '{print $1}' | grep $block_id`" != "" ]]; then 1600 1600 LogFile "INFO: Removing $block_id from device mapper."
Note:
See TracChangeset
for help on using the changeset viewer.