diff options
author | Gordon Tetlow <gordon@FreeBSD.org> | 2017-09-13 16:35:16 +0000 |
---|---|---|
committer | Gordon Tetlow <gordon@FreeBSD.org> | 2017-09-13 16:35:16 +0000 |
commit | 4572fb3faf80473e4dbb13dc956386c27cb2ad00 (patch) | |
tree | 2e0025055fce9a0c2321bc4b96ffc05123c947e2 /libexec/makewhatis.local | |
parent | 54d89ef11406ec275d9071a10236ff4de6633484 (diff) | |
download | src-4572fb3faf80473e4dbb13dc956386c27cb2ad00.tar.gz src-4572fb3faf80473e4dbb13dc956386c27cb2ad00.zip |
Deorbit catman. The tradeoff of disk for performance has long since tipped
in favor of just rendering the manpage instead of relying on pre-formatted
catpages. Note, this does not impede the ability to use existing catpages,
it just removes the utility to generate them.
Reviewed by: imp, allanjude
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D12317
Notes
Notes:
svn path=/head/; revision=323550
Diffstat (limited to 'libexec/makewhatis.local')
-rw-r--r-- | libexec/makewhatis.local/Makefile | 2 | ||||
-rw-r--r-- | libexec/makewhatis.local/makewhatis.local.8 | 20 | ||||
-rw-r--r-- | libexec/makewhatis.local/makewhatis.local.sh | 2 |
3 files changed, 3 insertions, 21 deletions
diff --git a/libexec/makewhatis.local/Makefile b/libexec/makewhatis.local/Makefile index 91872846202b..5038085cc4e3 100644 --- a/libexec/makewhatis.local/Makefile +++ b/libexec/makewhatis.local/Makefile @@ -3,7 +3,5 @@ SCRIPTS= makewhatis.local.sh MAN= makewhatis.local.8 SCRIPTSDIR= ${LIBEXECDIR} -LINKS= ${SCRIPTSDIR}/makewhatis.local ${SCRIPTSDIR}/catman.local -MLINKS= makewhatis.local.8 catman.local.8 .include <bsd.prog.mk> diff --git a/libexec/makewhatis.local/makewhatis.local.8 b/libexec/makewhatis.local/makewhatis.local.8 index dfe252fdd961..b3ef432bda00 100644 --- a/libexec/makewhatis.local/makewhatis.local.8 +++ b/libexec/makewhatis.local/makewhatis.local.8 @@ -27,22 +27,19 @@ .Dt MAKEWHATIS.LOCAL 8 .Os .Sh NAME -.Nm makewhatis.local , catman.local -.Nd start makewhatis or catman for local file systems +.Nm makewhatis.local +.Nd start makewhatis for local file systems .Sh SYNOPSIS .Nm /usr/libexec/makewhatis.local .Op options .Ar directories ... -.Nm /usr/libexec/catman.local -.Op options -.Ar directories ... .Sh DESCRIPTION The .Nm utility starts .Xr makewhatis 1 only for file systems physically mounted on the system -where the +where .Nm is being executed. Running makewhatis @@ -53,25 +50,14 @@ your NFS server -- all NFS clients start makewhatis at the same time! So use this wrapper for .Xr cron 8 instead of calling makewhatis directly. -The -.Nm catman.local -utility is using for same purposes as -.Nm -but for -.Xr catman 1 . .Sh FILES .Bl -tag -width /etc/periodic/weekly/320.whatis.XXX -compact .It Pa /etc/periodic/weekly/320.whatis run .Nm every week -.It Pa /etc/periodic/weekly/330.catman -run -.Nm catman.local -every week .El .Sh SEE ALSO -.Xr catman 1 , .Xr find 1 , .Xr makewhatis 1 , .Xr cron 8 , diff --git a/libexec/makewhatis.local/makewhatis.local.sh b/libexec/makewhatis.local/makewhatis.local.sh index 8be25300b75d..777c0c0153c4 100644 --- a/libexec/makewhatis.local/makewhatis.local.sh +++ b/libexec/makewhatis.local/makewhatis.local.sh @@ -31,8 +31,6 @@ # /usr may kill your NFS server -- all clients start makewhatis at the same # time! So use this wrapper instead calling makewhatis directly. # -# PS: this wrapper works also for catman(1) -# # $FreeBSD$ PATH=/bin:/usr/bin:$PATH; export PATH |