summaryrefslogtreecommitdiff
path: root/samizdat-eject.sh
diff options
context:
space:
mode:
Diffstat (limited to 'samizdat-eject.sh')
-rwxr-xr-xsamizdat-eject.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/samizdat-eject.sh b/samizdat-eject.sh
index 0f4e117..bfd8e1c 100755
--- a/samizdat-eject.sh
+++ b/samizdat-eject.sh
@@ -44,13 +44,8 @@ done
44copy() 44copy()
45{ 45{
46 mdadm_copy_eject_crypt /dev/md55 "$temp_target" && 46 mdadm_copy_eject_crypt /dev/md55 "$temp_target" &&
47 dd if=/dev/md55 of="$target".part && 47 mdadm_copy_eject /dev/md55 "$target".part &&
48 mv "$target".part "$target" 48 mv "$target".part "$target"
49
50 # I suppose at this point $target should be made the backing device of
51 # /dev/md55
52
53 # Alternatively: mdadm --stop /dev/md55
54} 49}
55 50
56remove() 51remove()