Skip to content

exfatlabel cannot rename a volume to -V #213

@fdegros

Description

@fdegros

When trying to use exfatlabel to rename a volume to -V, the following command is not effective:

$ exfatlabel /dev/sda "-V"
exfatlabel 1.3.0
Copyright (C) 2011-2018  Andrew Nayenko

The volume didn't get renamed. It still has its old name:

$ exfatlabel /dev/sda     
Old Name

Using the POSIX double hyphen delimiter -- doesn't work either.

$ exfatlabel -- /dev/sda "-V"
exfatlabel 1.3.0
Copyright (C) 2011-2018  Andrew Nayenko

$ exfatlabel -- /dev/sda "New Name"
Usage: exfatlabel [-V] <device> [label]

$ exfatlabel /dev/sda -- "-V"
exfatlabel 1.3.0
Copyright (C) 2011-2018  Andrew Nayenko

$ exfatlabel /dev/sda -- "New Name"
Usage: exfatlabel [-V] <device> [label]

The volume didn't get renamed. It still has its old name:

$ exfatlabel /dev/sda     
Old Name

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions