• Mike Fleetwood's avatar
    Stop checking for 'btrfs filesystem label' support (!26) · 0b5cfd34
    Mike Fleetwood authored
    btrfs-progs 3.12 includes 'btrfs filesystem label /dev/PTN NEWLABEL'
    functionality so stop checking for this before enabling setting the
    label.
    
        $ btrfs version
        Btrfs v3.12
        $ btrfs filesystem label --help
        usage: btrfs filesystem label [<device>|<mount_point>] [<newlabel>]
    
            Get or change the label of a filesystem
    
            With one argument, get the label of filesystem on <device>.
            If <newlabel> is passed, set the filesystem label on <newlabel>.
    
        $ echo $?
        0
    
    Worst case scenario is that some how an old version of the btrfs command
    is used which doesn't support the labelling functionality.  Then this
    commit would change GParted from disallowing labelling of a btrfs, to
    allowing it, but presumably it would fail with an error from the btrfs
    command reporting so.  Arguably better from a support point of view.
    
    Closes !26 - Remove support for btrfs-progs < 3.12
    0b5cfd34
Name
Last commit
Last update
compose Loading commit data...
data Loading commit data...
doc Loading commit data...
help Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
po Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING-DOCS Loading commit data...
ChangeLog Loading commit data...
HACKING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gparted.appdata.xml.in Loading commit data...
gparted.desktop.in.in Loading commit data...
gparted.doap Loading commit data...
gparted.in Loading commit data...
logo.png Loading commit data...
org.gnome.gparted.policy.in.in Loading commit data...
testbuild.sh Loading commit data...