mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 16:50:27 +00:00
Update cheatsheets
This commit is contained in:
29
linux/wipefs
Normal file
29
linux/wipefs
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# wipefs
|
||||
|
||||
> Wipe filesystem, raid, or partition-table signatures from a device.
|
||||
> More information: <https://manned.org/wipefs>.
|
||||
|
||||
- Display signatures for specified device:
|
||||
|
||||
`sudo wipefs {{/dev/sdX}}`
|
||||
|
||||
- Wipe all available signature types for a specific device with no recursion into partitions:
|
||||
|
||||
`sudo wipefs --all {{/dev/sdX}}`
|
||||
|
||||
- Wipe all available signature types for the device and partitions using a glob pattern:
|
||||
|
||||
`sudo wipefs --all {{/dev/sdX}}*`
|
||||
|
||||
- Perform dry run:
|
||||
|
||||
`sudo wipefs --all --no-act {{/dev/sdX}}`
|
||||
|
||||
- Force wipe, even if the filesystem is mounted:
|
||||
|
||||
`sudo wipefs --all --force {{/dev/sdX}}`
|
||||
Reference in New Issue
Block a user