document resolve_device

This commit is contained in:
illiliti 2020-09-07 09:53:08 +03:00
parent 50d4103a40
commit da3671d873
2 changed files with 15 additions and 5 deletions

View File

@ -5,7 +5,7 @@
.nh .nh
.ad l .ad l
.\" Begin generated content: .\" Begin generated content:
.TH "tinyramfs.hooks" "7" "2020-09-04" .TH "tinyramfs.hooks" "7" "2020-09-07"
.P .P
.SH NAME .SH NAME
.P .P
@ -122,6 +122,12 @@ on file.\& Tinyramfs will silently ignore errors if strip doesn't
exists or failed to strip binary.\& exists or failed to strip binary.\&
.P .P
.RE .RE
.SS I: resolve_device <UUID|LABEL|/dev/\*|PARTUUID>
.P
.RS 4
Resolves UUID|LABEL|/dev/*|PARTUUID to full path of /dev device
.P
.RE
.SH VARIABLES .SH VARIABLES
.P .P
.nf .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 appropriate names to that directory.\& After that, prepend \fBext4\fR to \fBhooks\fR
option in tinyrams config.\& option in tinyrams config.\&
.P .P
ext4 .SS ext4
.P .P
.nf .nf
.RS 4 .RS 4
@ -157,7 +163,7 @@ done
.fi .fi
.RE .RE
.P .P
ext4.\&init .SS ext4.init
.P .P
.nf .nf
.RS 4 .RS 4

View File

@ -68,6 +68,10 @@ interact with build and init system.
on file. Tinyramfs will silently ignore errors if strip doesn't on file. Tinyramfs will silently ignore errors if strip doesn't
exists or failed to strip binary. exists or failed to strip binary.
## I: resolve_device <UUID|LABEL|/dev/\*|PARTUUID>
Resolves UUID|LABEL|/dev/\*|PARTUUID to full path of /dev device
# VARIABLES # 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* appropriate names to that directory. After that, prepend *ext4* to *hooks*
option in tinyrams config. option in tinyrams config.
ext4 ## ext4
``` ```
print "Copying ext4 dependencies" print "Copying ext4 dependencies"
@ -99,7 +103,7 @@ for _mod in crc32c libcrc32c; do
done done
``` ```
ext4.init ## ext4.init
``` ```
modprobe -a crc32c libcrc32c modprobe -a crc32c libcrc32c