mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 07:42:52 +00:00
22 lines
492 B
Plaintext
22 lines
492 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# mkfs.ntfs
|
|
|
|
> Create a NTFS filesystem inside a partition.
|
|
> More information: <https://manned.org/mkfs.ntfs>.
|
|
|
|
- Create a NTFS filesystem inside partition Y on device X:
|
|
|
|
`mkfs.ntfs {{/dev/sdXY}}`
|
|
|
|
- Create filesystem with a volume-label:
|
|
|
|
`mkfs.ntfs {{[-L|--label]}} {{volume_label}} {{/dev/sdXY}}`
|
|
|
|
- Create filesystem with specific UUID:
|
|
|
|
`mkfs.ntfs {{[-U|--with-uuid]}} {{UUID}} {{/dev/sdXY}}`
|