I do not envy you this work. The documentation fallout alone... a quick and 
dirty scan of only the man pages that happen to be *currently installed* on my 
F40 system reveals that 487 / 2673 man pages in section 8 contain the string 
'sbin' somewhere in the troff source.

While I'm sure SOME of those are generated using the relevant binary's install 
destination, and will update automatically when those binaries are being 
installed to a */bin path instead, I have a feeling there are also a LOT like 
mount.8, which contains 9 uses of /sbin/mount.(-something) hardcoded into its 
documentation source [1].

In fact, the asciidoc manpage sources from util-linux 2.40.2 (the current 
rawhide version) contain hardcoded '/sbin/'s in:

sys-utils/rtcwake.8.adoc
sys-utils/pivot_root.8.adoc
sys-utils/mount.8.adoc
sys-utils/umount.8.adoc
term-utils/agetty.8.adoc

With additional false positives (mostly listings of default search paths that 
contain /sbin and/or /usr/sbin) in:

sys-utils/setpriv.1.adoc
sys-utils/fsck.8.adoc
login-utils/login.1.adoc
login-utils/su.1.adoc
login-utils/runuser.1.adoc

...And that's just ONE package.

[1]: 
https://github.com/util-linux/util-linux/blob/master/sys-utils/mount.8.adoc?plain=1#:~:text=external%20mount%20helpers%20(-,/sbin/mount.%3Ctype%3E,-)%20for%20compatibility%20with
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to