From 7338823adf1879c7ac6e947ece417be02f5d165f Mon Sep 17 00:00:00 2001 From: James Hibbard <1940994+jameshibbard@users.noreply.github.com> Date: Thu, 18 Jun 2020 11:58:03 +0000 Subject: [PATCH] wipefs: add page (#4106) --- pages/linux/wipefs.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/linux/wipefs.md diff --git a/pages/linux/wipefs.md b/pages/linux/wipefs.md new file mode 100644 index 0000000000..1e39b9ca59 --- /dev/null +++ b/pages/linux/wipefs.md @@ -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}}`