summaryrefslogtreecommitdiff
path: root/debian/local/partman/commit.d
diff options
context:
space:
mode:
Diffstat (limited to 'debian/local/partman/commit.d')
-rw-r--r--debian/local/partman/commit.d/40hurd_reload-partitions5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/local/partman/commit.d/40hurd_reload-partitions b/debian/local/partman/commit.d/40hurd_reload-partitions
new file mode 100644
index 00000000..6c105872
--- /dev/null
+++ b/debian/local/partman/commit.d/40hurd_reload-partitions
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+for part in /dev/[hs]d?s*; do
+ settrans -ag $part
+done