From 56daa1ebc4cf4a245b10e931372c5a04d15e5253 Mon Sep 17 00:00:00 2001 From: PS
Date: Sat, 7 Feb 2026 10:40:28 +0100 Subject: Add doc --- doc/bin/mddc-add-block-sym.html | 92 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 doc/bin/mddc-add-block-sym.html (limited to 'doc/bin/mddc-add-block-sym.html') diff --git a/doc/bin/mddc-add-block-sym.html b/doc/bin/mddc-add-block-sym.html new file mode 100644 index 0000000..3d8b40d --- /dev/null +++ b/doc/bin/mddc-add-block-sym.html @@ -0,0 +1,92 @@ + + +
+ + + +
+ mdevd-conf
+
+ Software
+
+ 0x53.net
+
+ mddc-add-block-sym is a helper script to create
+ symlinks at /dev/disk/by-*.
+
mddc-add-block-sym+
MDEV environment variable,
+ if it is empty it exits 100.
+ /dev/disk/by-partuuid/,
+ using /sys/block to get the PARTUUID.
+ /dev/disk/by-diskseq/,
+ using /sys/block to get the DISKSEQ.
+ /dev/disk/by-id/,
+ using /sys/block to get the ID.
+ blkid.
+ If this is the case:
+ /dev/disk/by-uuid/,
+ using blkid to get the UUID.
+ /dev/disk/by-label/,
+ using blkid to get the LABEL.
+