Description: Use dosfstools instead of mtools We already require dosfstools for mkfs.vfat, so just also use it for changing the fs label. Author: Michael Biebl Bug: https://bugs.freedesktop.org/show_bug.cgi?id=52332 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680683 diff --git a/src/udiskslinuxfsinfo.c b/src/udiskslinuxfsinfo.c index 28b1ae5..97b414d 100644 --- a/src/udiskslinuxfsinfo.c +++ b/src/udiskslinuxfsinfo.c @@ -53,8 +53,8 @@ const FSInfo _fs_info[] = }, { "vfat", - "mlabel -i $DEVICE ::$LABEL", - "mlabel -i $DEVICE -c ::", + "dosfslabel $DEVICE $LABEL", + NULL, FALSE, /* supports_online_label_rename */ FALSE, /* supports_owners */ "mkfs.vfat -I -n $LABEL $DEVICE",