Commit 1b172646 authored by Committed by Curtis Gedak
Stop checking for 'ntfslabel --new-serial' support
The oldest supported distributions have these versions of ntfs-3g / ntfsprogs. Distro EOL ntfs-3g / ntfsprogs - Debian 8 2020-Jun 2014.2.16AR.2 - RHEL / CentOS 7 2024-Jun 2017.3.23 - Ubuntu 14.04 LTS 2019-Apr 2013.1.13AR.1 The oldest version of ntfs-3g / ntfsprogs on Ubuntu 14.04 LTS includes support for the --new-serial option. $ ntfslabel -V ntfslabel v2013.1.13AR.1 (libntfs-3g) - Display, or set, the label for an NTFS Volume. $ ntfslabel --help | grep -- --new-serial --new-serial Set a new serial number Therefore it is no longer necessary to check for this option as it is always available. The worst case scenario is that some how an old version of ntfslabel is used which doesn't support this option. In such a case GParted goes from not supporting changing the UUID to claiming support, but presumably it would fail with an error reporting unknown option when applied. Arguably better from an end user support point of view.
Showing with 3 additions and 14 deletions