1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:22:09 +02:00

wipefs: add page (#4106)

This commit is contained in:
James Hibbard 2020-06-18 11:58:03 +00:00 committed by GitHub
parent 3ad716b951
commit 7338823adf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
pages/linux/wipefs.md Normal file
View 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}}`