Commit Graph

53 Commits

Author SHA1 Message Date
Guy Helmer
d5ac36eda7 Invoke tzset(3) within the main loop to catch changes to /etc/localtime
when running as a daemon in the hope that it will fix situations
where the CMOS clock was apparently set using the stale TZ offset.
2004-04-27 14:43:03 +00:00
David E. O'Brien
c69284ca08 Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
Tom Rhodes
ce66ddb763 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
Philippe Charnier
e1205e80e5 The .Nm utility 2002-07-06 19:34:18 +00:00
Tom Rhodes
3468b317cb more file system > filesystem 2002-05-16 04:10:46 +00:00
Warner Losh
bbbc97356c o Use real prototypes
o Remove __P.
o main(int, char *[])
2002-03-18 04:55:09 +00:00
David E. O'Brien
2d68bf45bf Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
2001-12-04 02:19:58 +00:00
Dima Dorfman
086ad217b2 Fix a prototype and set WARNS=2.
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-07-15 05:41:57 +00:00
Ruslan Ermilov
9fe48c6e8d mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
Ruslan Ermilov
4ccd754686 - VFS_SET(msdos) -> VFS_SET(msdosfs)
- msdos.ko -> msdosfs.ko
- mount_msdos(8) -> mount_msdosfs(8)
- "msdos" -> "msdosfs" compatibility glue in mount(8)
2001-06-01 10:57:26 +00:00
Ruslan Ermilov
0a5779d45b - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
Ruslan Ermilov
fe655281c5 Set the default manual section for sbin/ to 8. 2001-03-20 18:13:31 +00:00
Ruslan Ermilov
c2d03ea879 Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
Ruslan Ermilov
1252c1bb05 Prepare for mdoc(7)NG. 2000-12-18 15:16:24 +00:00
Ruslan Ermilov
7c7fb079b9 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
Ruslan Ermilov
b5c508fba3 Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
Sheldon Hearn
ef8f7ac935 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:27:47 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Philippe Charnier
f9184dd719 Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include. 1998-06-04 06:35:12 +00:00
Andrey A. Chernov
84436e33cb Implement Helbig idea of offset calculation reducing mktime() calls
Immediately exit if /etc/wall_cmos_clock not present
1998-04-11 21:18:55 +00:00
Andrey A. Chernov
20344e1582 Add workaround suggestion for 'nonexistent time' diagnostic 1998-03-30 09:29:47 +00:00
Philippe Charnier
68085a0ef1 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-19 07:46:04 +00:00
Andrey A. Chernov
57394688f8 Minimize clock drift between getting and setting time
Submitted by: bde
1998-02-25 09:40:21 +00:00
Philippe Charnier
4cabb4cdcc Add Id, add usage function. 1997-06-10 11:01:13 +00:00
Warner Losh
8d64695c7c compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 03:33:12 +00:00
Peter Wemm
c0ec1f37ef Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Wolfram Schneider
af20215665 Sort cross references. 1997-01-13 00:25:51 +00:00
Andrey A. Chernov
f7b994d058 English corrections from jdp.
Add main purpose description (MSDOS timestamps)
1996-04-09 11:31:34 +00:00
Mike Pritchard
906c1e27fc Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
Andrey A. Chernov
bf152145d2 More info and more corrections 1996-04-05 23:53:23 +00:00
Andrey A. Chernov
bacbb38233 Describe new adjkerntz variant + various changes from jdp 1996-04-05 23:37:08 +00:00
Andrey A. Chernov
88d807a676 Detect if /etc/wall_cmos_clock gone while adjkerntz paused. 1996-04-05 19:17:05 +00:00
Andrey A. Chernov
c6337b7b46 Dynamically sense /etc/wall_cmos_clock presence/absense 1996-04-05 16:25:38 +00:00
Andrey A. Chernov
9243a8f346 Fix error with multiply 'adjkerntz -a' copies running.
Manage adjkerntz kernel variable even for UTC clocks.
Code cleanup.
1996-04-05 03:40:55 +00:00
Rodney W. Grimes
5ebc7e6281 Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
Andrey A. Chernov
73cab1a3bc Use more AI to predict initial/final isdst,
latest isdst  preffered.
1995-03-26 22:51:51 +00:00
Andrey A. Chernov
937b5aaa3b Use timelocal() instead of mktime() hack 1994-12-26 10:43:48 +00:00
Andrey A. Chernov
882588f86c Fix resetting adjkerntz to 0 (pointed by Bruce),
forget to initialize mib variable.
1994-12-12 05:48:45 +00:00
Andrey A. Chernov
408399029a Optimize setting of DISRTCSET 1994-12-12 05:43:28 +00:00
Andrey A. Chernov
62be897817 Clean internal logic, helps for some unusual cases 1994-12-12 05:20:44 +00:00
Paul Traina
247c65ea84 Fix spelling/grammar errors 1994-12-05 10:08:35 +00:00
Andrey A. Chernov
9aa4fece6d -i case goes to background pause and acts like -a case on receiving
SIGTERM. This helps to keep CMOS clock updated before reboot.
Idea from J.Wunsch.
1994-11-03 03:16:16 +00:00
Andrey A. Chernov
fb833e7272 Restore back -i, -a 1994-11-02 10:04:11 +00:00
Andrey A. Chernov
f30089ed19 Restore back -i, -a 1994-11-02 09:40:06 +00:00
Andrey A. Chernov
7ac030ad07 Remove options, run adjkerntz as daemon now 1994-11-01 16:22:22 +00:00
Andrey A. Chernov
0835483992 Now:
adjkerntz -i writes kernel clock only, don't touch RTC clock
adjkerntz -a writes RTC clock only, don't touch kernel clock
1994-11-01 06:20:52 +00:00
Andrey A. Chernov
025dc82971 Modify adjkerntz to not write RTC clock per initial call,
suggested by Bruce
1994-10-04 19:15:13 +00:00
Andrey A. Chernov
736c101eaf Correction for new sysctl interface 1994-09-19 23:18:41 +00:00
Andrey A. Chernov
bb84bd5c6b rewritted to use sysctl, no more /var/run/.adjkerntz now 1994-09-19 23:09:34 +00:00