mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-15 16:48:53 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/linux/xfs_admin
Normal file
33
tldr/linux/xfs_admin
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# xfs_admin
|
||||
|
||||
> Tune an XFS filesystem.
|
||||
> More information: <https://manned.org/xfs_admin>.
|
||||
|
||||
- Display the filesystem label:
|
||||
|
||||
`sudo xfs_admin {{[-l|--list]}} {{/dev/sdX}}`
|
||||
|
||||
- Set the filesystem label:
|
||||
|
||||
`sudo xfs_admin {{[-L|--Label]}} "{{label}}" {{/dev/sdX}}`
|
||||
|
||||
- Display the filesystem UUID:
|
||||
|
||||
`sudo xfs_admin {{[-u|--uuid]}} {{/dev/sdX}}`
|
||||
|
||||
- Set the filesystem UUID (use with caution):
|
||||
|
||||
`sudo xfs_admin {{[-U|--UUID]}} {{uuid}} {{/dev/sdX}}`
|
||||
|
||||
- Generate a new UUID for the filesystem:
|
||||
|
||||
`sudo xfs_admin {{[-U|--UUID]}} generate {{/dev/sdX}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`xfs_admin`
|
||||
Reference in New Issue
Block a user