Changeset 3574 in MondoRescue


Ignore:
Timestamp:
Apr 27, 2016, 7:48:07 PM (8 years ago)
Author:
Bruno Cornec
Message:
  • Use dosfslabel instead of fatlabel more generally available in distributions (Didier Diaz)
Location:
branches/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/deplist.d/fs.conf

    r3558 r3574  
    3939
    4040# FAT
    41 /sbin/fatlabel
     41/usr/sbin/dosfslabel
    4242
    4343# MondoRescue tools
  • branches/3.2/mondo/src/restore-scripts/mondo/mr-label-partitions-as-necessary

    r3542 r3574  
    6666                fi
    6767            else
    68                 if [ -x "/sbin/fatlabel" ]; then
    69                     command="/sbin/fatlabel $mountpt $label"
     68                if [ -x "/usr/sbin/dosfslabel" ]; then
     69                    command="/usr/sbin/dosfslabel $mountpt $label"
    7070                    LogIt "Running $command"
    7171                    $command
    7272                else
    73                     LogIt "No fatlabel command available to label a FAT/VFAT FS"
     73                    LogIt "No dosfslabel command available to label a FAT/VFAT FS"
    7474                fi
    7575            fi
Note: See TracChangeset for help on using the changeset viewer.