forked from nix-community/disko

disk-deactivate: wipe raid arrays before stopping them (#1248)

Closes #1247 ## How to test 1. Go to $TMP: `cd "$(mktemp -d)"` 2. Get [the gist](https://gist.github.com/kmein/9644e65ab8218a4b57c35cb9290b86ad): `wget https://gist.githubusercontent.com/kmein/9644e65ab8218a4b57c35cb9290b86ad/raw/3ec76f6a142abb1f4ea3764563a8843984b300d4/flake.nix` 3. See it fail: `nix build` (output: _Exception: The canary file survived the Disko wipe process!_) 4. Switch the branch: `sed -i 's#github:nix-community/disko#github:kmein/disko?ref=fix/mdadm-destroy#' flake.nix` 5. Watch it work: `nix build`


Author lassulus Committer GitHub Date Commit Parent ce160f51
+131
2 changed files
+131
2 changed files