wipefs: add page (#4106)
This commit is contained in:
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}}`
|
Reference in New Issue
Block a user