freebsd-dev/sbin/nvmecontrol
Stefan Eßer 1f474190fc Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE
Literal references to /usr/local exist in a large number of files in
the FreeBSD base system. Many are in contributed software, in configuration
files, or in the documentation, but 19 uses have been identified in C
source files or headers outside the contrib and sys/contrib directories.

This commit makes it possible to set _PATH_LOCALBASE in paths.h to use
a different prefix for locally installed software.

In order to avoid changes to openssh source files, LOCALBASE is passed to
the build via Makefiles under src/secure. While _PATH_LOCALBASE could have
been used here, there is precedent in the construction of the path used to
a xauth program which depends on the LOCALBASE value passed on the compiler
command line to select a non-default directory.

This could be changed in a later commit to make the openssh build
consistently use _PATH_LOCALBASE. It is considered out-of-scope for this
commit.

Reviewed by:	imp
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D26942
2020-10-27 11:29:11 +00:00
..
modules Use intmax_t to print uint64_t values. 2020-10-07 07:55:55 +00:00
tests Ensure kyua list working when there is no /dev/nvme* 2020-04-13 21:08:54 +00:00
comnd.c Assume all the short args have optional args so allocate space for the 2019-09-11 13:34:19 +00:00
comnd.h Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
devlist.c Add a basic test for nvmecontrol 2020-04-07 20:26:42 +00:00
firmware.c Whitespace fix after r365948 2020-09-21 18:34:13 +00:00
format.c Fix parameter check broken at r350057. 2019-08-03 04:30:22 +00:00
identify_ext.c Honor the FWUG value of some drives in nvmecontrol 2020-09-21 15:45:49 +00:00
identify.c Add missing newlines. 2020-07-23 14:33:25 +00:00
logpage.c Fix nvmecontrol logpage -i parameter. 2020-10-15 15:36:08 +00:00
Makefile Add a basic test for nvmecontrol 2020-04-07 20:26:42 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nc_util.c Add SPDX tag. 2019-02-28 02:29:48 +00:00
ns.c Allow namespace-id specification where it makes sense. 2020-04-20 14:54:41 +00:00
nsid.c Open device with O_RDONLY when command is non-invasive. 2020-04-20 13:47:07 +00:00
nvmecontrol_ext.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
nvmecontrol.8 Document the passthru commands. 2020-05-01 20:29:51 +00:00
nvmecontrol.c Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE 2020-10-27 11:29:11 +00:00
nvmecontrol.h Open device with O_RDONLY when command is non-invasive. 2020-04-20 13:47:07 +00:00
passthru.c Document the passthru commands. 2020-05-01 20:29:51 +00:00
perftest.c Size is unsigned, so remove the test entirely. 2019-09-25 07:51:30 +00:00
power.c Allow namespace-id specification where it makes sense. 2020-04-20 14:54:41 +00:00
reset.c Allow namespace-id specification where it makes sense. 2020-04-20 14:54:41 +00:00
resv.c Open device with O_RDONLY when command is non-invasive. 2020-04-20 13:47:07 +00:00
sanitize.c Add nvmecontrol resv to handle NVMe reservations. 2019-08-05 17:36:00 +00:00