git: 1760799b4c61 - main - Remove references to timed(8)

Gordon Bergling gbe at FreeBSD.org
Thu May 13 07:56:59 UTC 2021


The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=1760799b4c612b98c0e5c1abeb03814e24c33cf6

commit 1760799b4c612b98c0e5c1abeb03814e24c33cf6
Author:     Ceri Davies <ceri at FreeBSD.org>
AuthorDate: 2021-05-13 07:53:08 +0000
Commit:     Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-05-13 07:53:08 +0000

    Remove references to timed(8)
    
    There are still references to timed(8) and timedc(8) in the base system,
    which were removed in 2018.
    
    PR: 255425
    Reported by:    Ceri Davies <ceri at submonkey dot net>
    Reviewed by:    ygy, gbe
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D30232
---
 lib/libc/rpc/rtime.3         |  4 +---
 lib/libc/sys/adjtime.2       |  6 ++----
 lib/libc/sys/clock_gettime.2 |  5 ++---
 lib/libc/sys/gettimeofday.2  |  5 ++---
 libexec/rc/rc.conf           |  2 --
 share/man/man5/rc.conf.5     | 26 +-------------------------
 6 files changed, 8 insertions(+), 40 deletions(-)

diff --git a/lib/libc/rpc/rtime.3 b/lib/libc/rpc/rtime.3
index 028d2beade14..e657ca50aa18 100644
--- a/lib/libc/rpc/rtime.3
+++ b/lib/libc/rpc/rtime.3
@@ -1,7 +1,7 @@
 .\" @(#)rtime.3n	2.1 88/08/08 4.0 RPCSRC; from 1.5 88/02/08 SMI
 .\" $FreeBSD$
 .\"
-.Dd November 22, 1987
+.Dd May 13, 2021
 .Dt RTIME 3
 .Os
 .Sh NAME
@@ -46,5 +46,3 @@ however, the routine will instead use
 and block until a reply is received from the time server.
 .Sh RETURN VALUES
 .Rv -std rtime
-.Sh SEE ALSO
-.Xr timed 8
diff --git a/lib/libc/sys/adjtime.2 b/lib/libc/sys/adjtime.2
index 03a93a8ae842..18f6f368d140 100644
--- a/lib/libc/sys/adjtime.2
+++ b/lib/libc/sys/adjtime.2
@@ -28,7 +28,7 @@
 .\"     @(#)adjtime.2	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd June 4, 1993
+.Dd May 13, 2021
 .Dt ADJTIME 2
 .Os
 .Sh NAME
@@ -96,9 +96,7 @@ The process's effective user ID is not that of the super-user.
 .El
 .Sh SEE ALSO
 .Xr date 1 ,
-.Xr gettimeofday 2 ,
-.Xr timed 8 ,
-.Xr timedc 8
+.Xr gettimeofday 2
 .Rs
 .%T "TSP: The Time Synchronization Protocol for UNIX 4.3BSD"
 .%A R. Gusella
diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2
index 6dca19449be9..4552819ea902 100644
--- a/lib/libc/sys/clock_gettime.2
+++ b/lib/libc/sys/clock_gettime.2
@@ -29,7 +29,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 7, 2019
+.Dd May 13, 2021
 .Dt CLOCK_GETTIME 2
 .Os
 .Sh NAME
@@ -154,8 +154,7 @@ A user other than the super-user attempted to set the time.
 .Xr adjtime 2 ,
 .Xr clock_getcpuclockid 3 ,
 .Xr ctime 3 ,
-.Xr pthread_getcpuclockid 3 ,
-.Xr timed 8
+.Xr pthread_getcpuclockid 3
 .Sh STANDARDS
 The
 .Fn clock_gettime ,
diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2
index 29f713653063..08e3979149e7 100644
--- a/lib/libc/sys/gettimeofday.2
+++ b/lib/libc/sys/gettimeofday.2
@@ -28,7 +28,7 @@
 .\"     @(#)gettimeofday.2	8.2 (Berkeley) 5/26/95
 .\" $FreeBSD$
 .\"
-.Dd October 27, 2018
+.Dd May 13, 2021
 .Dt GETTIMEOFDAY 2
 .Os
 .Sh NAME
@@ -123,8 +123,7 @@ A user other than the super-user attempted to set the time.
 .Xr clock_gettime 2 ,
 .Xr ctime 3 ,
 .Xr timeradd 3 ,
-.Xr clocks 7 ,
-.Xr timed 8
+.Xr clocks 7
 .Sh HISTORY
 The
 .Fn gettimeofday
diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index d941a20b6e07..041d4b6b5321 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -391,8 +391,6 @@ tlsservd_enable="NO"		# Run rpc.tlsservd needed for NFS-over-TLS nfsd
 tlsservd_flags=""		# Flags for rpc.tlsservd
 
 ### Network Time Services options: ###
-timed_enable="NO"		# Run the time daemon (or NO).
-timed_flags=""			# Flags to timed (if enabled).
 ntpdate_enable="NO"		# Run ntpdate to sync time on boot (or NO).
 ntpdate_program="/usr/sbin/ntpdate"	# path to ntpdate, if you want a different one.
 ntpdate_flags="-b"		# Flags to ntpdate (if enabled).
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 6baf3b22b024..95fa8bce4dc0 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 11, 2021
+.Dd May 13, 2021
 .Dt RC.CONF 5
 .Os
 .Sh NAME
@@ -2574,29 +2574,6 @@ This is mandatory when
 .Va pppoed_enable
 is set to
 .Dq Li YES .
-.It Va timed_enable
-.Pq Vt bool
-If set to
-.Dq Li YES ,
-run the
-.Xr timed 8
-service at boot time.
-This command is intended for networks of
-machines where a consistent
-.Dq "network time"
-for all hosts must be established.
-This is often useful in large NFS
-environments where time stamps on files are expected to be consistent
-network-wide.
-.It Va timed_flags
-.Pq Vt str
-If
-.Va timed_enable
-is set to
-.Dq Li YES ,
-these are the flags to pass to the
-.Xr timed 8
-service.
 .It Va ntpdate_enable
 .Pq Vt bool
 If set to
@@ -4691,7 +4668,6 @@ it will be made permanently active.
 .Xr sysctl 8 ,
 .Xr syslogd 8 ,
 .Xr sysrc 8 ,
-.Xr timed 8 ,
 .Xr unbound 8 ,
 .Xr usbconfig 8 ,
 .Xr wlandebug 8 ,


More information about the dev-commits-src-all mailing list