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)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.