mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:42:09 +02:00
wipefs: add page (#4106)
This commit is contained in:
parent
3ad716b951
commit
7338823adf
1 changed files with 19 additions and 0 deletions
19
pages/linux/wipefs.md
Normal file
19
pages/linux/wipefs.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# wipefs
|
||||||
|
|
||||||
|
> Wipe filesystem, raid, or partition-table signatures from a device.
|
||||||
|
|
||||||
|
- Display signatures for specified device:
|
||||||
|
|
||||||
|
`sudo wipefs {{/dev/sda}}`
|
||||||
|
|
||||||
|
- Wipe all available signatures for specified device:
|
||||||
|
|
||||||
|
`sudo wipefs --all {{/dev/sda}}`
|
||||||
|
|
||||||
|
- Perform dry run:
|
||||||
|
|
||||||
|
`sudo wipefs --all --no-act {{/dev/sda}}`
|
||||||
|
|
||||||
|
- Force wipe, even if the filesystem is mounted:
|
||||||
|
|
||||||
|
`sudo wipefs --all --force {{/dev/sda}}`
|
Loading…
Add table
Reference in a new issue