mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-11 05:47:12 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/linux/mkfs.xfs
Normal file
17
tldr/linux/mkfs.xfs
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mkfs.xfs
|
||||
|
||||
> Create an XFS filesystem inside a partition.
|
||||
> More information: <https://manned.org/mkfs.xfs>.
|
||||
|
||||
- Create an XFS filesystem inside partition 1 on a device (`X`):
|
||||
|
||||
`sudo mkfs.xfs {{/dev/sdX1}}`
|
||||
|
||||
- Create an XFS filesystem with a volume label:
|
||||
|
||||
`sudo mkfs.xfs -L {{volume_label}} {{/dev/sdX1}}`
|
||||
Reference in New Issue
Block a user