mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
init disk-deactivate for cleaning up the disk
This commit is contained in:
1 parent
4ce2aa4845
commit
17da9b0708
4 files changed
+97
-20
No files matched your search
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -efux
|
||||
# dependencies: jq util-linux lvm2 mdadm zfs
|
||||
disk=$1
|
||||
|
||||
lsblk --output-all --json | jq -r --arg disk_to_clear "$disk" -f "$(dirname $0)/disk-deactivate.jq"
|
||||
Reference in new issue
Block a user