LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

xfs_admin

Modify XFS filesystem parameters

TLDR

Display label
$ sudo xfs_admin -l [/dev/sdX]
copy
Set label
$ sudo xfs_admin -L "[label]" [/dev/sdX]
copy
Display UUID
$ sudo xfs_admin -u [/dev/sdX]
copy
Set UUID
$ sudo xfs_admin -U [uuid] [/dev/sdX]
copy
Generate new UUID
$ sudo xfs_admin -U generate [/dev/sdX]
copy

SYNOPSIS

xfs_admin [OPTIONS] DEVICE

DESCRIPTION

xfs_admin modifies parameters of an XFS filesystem. It can change the label and UUID of unmounted XFS filesystems.The filesystem must be unmounted before modifying parameters.

PARAMETERS

-l, --list

Display filesystem label
-L, --Label LABEL
Set filesystem label
-u, --uuid
Display filesystem UUID
-U, --UUID UUID
Set filesystem UUID (or "generate" for new)
-c 0|1
Enable/disable lazy-counters

INSTALL

sudo apt install xfsprogs
copy
sudo dnf install xfsprogs
copy
sudo pacman -S xfsprogs
copy
sudo apk add xfsprogs-extra
copy
sudo zypper install xfsprogs
copy
nix profile install nixpkgs#xfsprogs
copy

CAVEATS

Changing UUID may affect fstab and boot configurations. Requires root privileges. XFS filesystems only.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid