From da3671d8730fee566df9b5cc948374ae9a7688a9 Mon Sep 17 00:00:00 2001 From: illiliti Date: Mon, 7 Sep 2020 09:53:08 +0300 Subject: [PATCH] document resolve_device --- docs/tinyramfs.hooks.7 | 12 +++++++++--- docs/tinyramfs.hooks.7.scd | 8 ++++++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/tinyramfs.hooks.7 b/docs/tinyramfs.hooks.7 index 71667cb..33b87d2 100644 --- a/docs/tinyramfs.hooks.7 +++ b/docs/tinyramfs.hooks.7 @@ -5,7 +5,7 @@ .nh .ad l .\" Begin generated content: -.TH "tinyramfs.hooks" "7" "2020-09-04" +.TH "tinyramfs.hooks" "7" "2020-09-07" .P .SH NAME .P @@ -122,6 +122,12 @@ on file.\& Tinyramfs will silently ignore errors if strip doesn't exists or failed to strip binary.\& .P .RE +.SS I: resolve_device +.P +.RS 4 +Resolves UUID|LABEL|/dev/*|PARTUUID to full path of /dev device +.P +.RE .SH VARIABLES .P .nf @@ -145,7 +151,7 @@ Create \fB/etc/tinyramfs/hooks/ext4\fR directory and copy below scripts with appropriate names to that directory.\& After that, prepend \fBext4\fR to \fBhooks\fR option in tinyrams config.\& .P -ext4 +.SS ext4 .P .nf .RS 4 @@ -157,7 +163,7 @@ done .fi .RE .P -ext4.\&init +.SS ext4.init .P .nf .RS 4 diff --git a/docs/tinyramfs.hooks.7.scd b/docs/tinyramfs.hooks.7.scd index 8612c6c..e01db21 100644 --- a/docs/tinyramfs.hooks.7.scd +++ b/docs/tinyramfs.hooks.7.scd @@ -68,6 +68,10 @@ interact with build and init system. on file. Tinyramfs will silently ignore errors if strip doesn't exists or failed to strip binary. +## I: resolve_device + + Resolves UUID|LABEL|/dev/\*|PARTUUID to full path of /dev device + # VARIABLES ``` @@ -89,7 +93,7 @@ Create */etc/tinyramfs/hooks/ext4* directory and copy below scripts with appropriate names to that directory. After that, prepend *ext4* to *hooks* option in tinyrams config. -ext4 +## ext4 ``` print "Copying ext4 dependencies" @@ -99,7 +103,7 @@ for _mod in crc32c libcrc32c; do done ``` -ext4.init +## ext4.init ``` modprobe -a crc32c libcrc32c