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 +++++++++++++++++++++++++++++++++++++++++ doc/bin/mddc-del-block-sym.html | 72 ++++++++++++++++++++++++++++++++ 2 files changed, 164 insertions(+) create mode 100644 doc/bin/mddc-add-block-sym.html create mode 100644 doc/bin/mddc-del-block-sym.html (limited to 'doc/bin') 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.
+
+ mdevd-conf
+
+ Software
+
+ 0x53.net
+
+ mddc-del-block-sym is a helper script to create
+ symlinks at /dev/disk/by-*.
+
mddc-del-block-sym+
MDEV environment variable,
+ if it is empty it exits 100.
+ ${FILE} in /dev/disk/*/
+ it checks whether it is a symlink to ${MDEV}
+ or its partition and, if this is the case,
+ deletes ${FILE}.
+