From c0cd1573be8ffd01a3c2ab2719c011cbbe9f78fe Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Tue, 25 Oct 2022 22:54:24 +1100 Subject: [PATCH] fixup manpage naming --- ...thmap0.so.8.adoc => libpathmap-0.so.8.adoc | 22 +++++++++---------- libtarmap0.so.8.adoc => libtarmap-0.so.8.adoc | 8 +++---- 2 files changed, 15 insertions(+), 15 deletions(-) rename libpathmap0.so.8.adoc => libpathmap-0.so.8.adoc (71%) rename libtarmap0.so.8.adoc => libtarmap-0.so.8.adoc (77%) diff --git a/libpathmap0.so.8.adoc b/libpathmap-0.so.8.adoc similarity index 71% rename from libpathmap0.so.8.adoc rename to libpathmap-0.so.8.adoc index ff8be3d..78096fe 100644 --- a/libpathmap0.so.8.adoc +++ b/libpathmap-0.so.8.adoc @@ -1,5 +1,5 @@ -libpathmap0.so(8) -================ +libpathmap-0.so(8) +================== :doctype: manpage :revdate: {sys:date "+%Y-%m-%d %H:%M:%S"} :COLON: : @@ -7,24 +7,24 @@ libpathmap0.so(8) NAME ---- -libpathmap0.so - preload utility to redirect pathnames +libpathmap-0.so - preload utility to redirect pathnames SYNOPSYS -------- -+LD_PRELOAD=libpathmap0.so+ _command_ ++LD_PRELOAD=libpathmap-0.so+ _command_ DESCRIPTION ----------- -This dynamic library, libpathmap0.so, is intended to be used as a +This dynamic library, libpathmap-0.so, is intended to be used as a "preload" library for programs for which pathnames are to be mapped to a different common prefix. The effect is somewhat similar to +chroot+ in that absolute pathnames, which normally are from the root of the file system, get mapped to be relative to the choosen prefix point. -+libpathmap0.so+ is "configured" by setting environment variable ++libpathmap-0.so+ is "configured" by setting environment variable +PATHMAPNOT+ to be the path prefixes, given as a colon separated list, -that +libpathmap0.so+ should be concerned with. The first of them is +that +libpathmap-0.so+ should be concerned with. The first of them is then used as the prefix to add to the program's pathnames (when opening files) except to those pathnames that start with any of the prefixes in the list, including the first. @@ -33,12 +33,12 @@ For example, if the prefix +/elsewhere+ should be added to all pathnames for a program _prgrm_ then the command line might be: ---- -PATHMAPNOT=/elsewhere LD_PRELOAD=libpathmap0.so prgrm +PATHMAPNOT=/elsewhere LD_PRELOAD=libpathmap-0.so prgrm ---- Note however that dynamically linked libraries are loaded via statically linked function calls and they are therefore not handled -via libpathmap0.so. +via libpathmap-0.so. ENVIRONMENT ----------- @@ -46,7 +46,7 @@ ENVIRONMENT PATHMAPNOT:: This environment variable tells which path prefixes, given as a colon -separated list, +libpathmap0.so+ should be concerned with. The first +separated list, +libpathmap-0.so+ should be concerned with. The first prefix is the one to add to all pathnames except to those of any of the prefixes in the list. @@ -57,7 +57,7 @@ Assume there is a directory +/home/test/extra+ ---- env PATHMAPNOT=/home/test:/proc:/dev:/lib:/usr:/bin \ - LD_PRELOAD=libpathmap0.so \ + LD_PRELOAD=libpathmap-0.so \ ls /extra ---- diff --git a/libtarmap0.so.8.adoc b/libtarmap-0.so.8.adoc similarity index 77% rename from libtarmap0.so.8.adoc rename to libtarmap-0.so.8.adoc index 107893b..3bd07cf 100644 --- a/libtarmap0.so.8.adoc +++ b/libtarmap-0.so.8.adoc @@ -1,5 +1,5 @@ -libtarmap0.so(8) -=============== +libtarmap-0.so(8) +================= :doctype: manpage :revdate: {sys:date "+%Y-%m-%d %H:%M:%S"} :COLON: : @@ -7,11 +7,11 @@ libtarmap0.so(8) NAME ---- -libtarmap0.so - preload utility to map pathnames into a tar file +libtarmap-0.so - preload utility to map pathnames into a tar file SYNOPSYS -------- -LD_PRELOAD=libtarmap0.so TARMAP=_tarfile_ _command_ +LD_PRELOAD=libtarmap-0.so TARMAP=_tarfile_ _command_ DESCRIPTION ----------- -- 2.47.2