NetBSD/sbin
kre c576beb79a kern.boottime was changed from a struct timeval to a struct timespec
in January 2009 (the Christos' time merge, when time_t went to 64 bits).

sysctl needs to catch up.   (So do other progs, which will happen, eventually,
but most of them are unaffected in any practical way.)

If you are running a system (NetBSD 6 or later) without this change, try
	sysctl -nn kern.boottime
and marvel at the result (in theory, seconds.microseconds) most
probably being something like:
	jinx$ sysctl -nn kern.boottime
	1540801874.999995564
(There is a 1 in 1000 chance your system will have booted
in the interval [0 , 999999] nanoseconds after some second,
in which case this will not be observed.   You should get
(almost) the same value after this change - just now it is as
it should be (there should now always be 9 digits after the '.').

On the other hand, if you're on a big-endian 64 bit host (running
64 bit sysctl) you would have always seen 0 for the microseconds field.
That should be fixed by this.

In sysctl(7) also document what we mean by "the time the system booted".

XXX Pullup -8
XXX Pullup -7
XXX Pullup -6 (oops, missed that one...)
2018-10-30 19:41:21 +00:00
..
amrctl Remove reference to -c flag which was never implemented. 2018-08-27 00:36:03 +00:00
apmlabel
atactl add SMART 249: Total Raw NAND Writes (1GiB units), sourced from 2016-10-04 21:37:46 +00:00
badsect Drop main() prototype. 2016-09-05 01:00:07 +00:00
bioctl Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
brconfig
canconfig New sentence, new line. Fix typos. More consistent grammar. 2017-05-29 08:46:23 +00:00
ccdconfig
cgdconfig typo 2018-09-01 11:46:52 +00:00
chkconfig
chown Add EXIT STATUS section. Use Ex. Sort sections. 2017-07-04 06:53:12 +00:00
clri Actually, V6 included clri before 3BSD. 2016-09-12 23:11:50 +00:00
devpubd Document the version devpubd first appeared. 2016-09-11 01:38:00 +00:00
disklabel Avoid misaligned access in disklabel(8) in find_label() 2018-06-27 01:14:48 +00:00
dkctl Bump date for previous. 2018-01-07 18:11:35 +00:00
dkscan_bsdlabel use a minimal "struct disk" in userland rather than the full kernel structure. 2017-06-08 22:24:29 +00:00
dmctl Fix typo 2017-06-04 08:34:34 +00:00
dmesg Correct the 6 second offset issue between the time reported by 2018-10-30 19:40:35 +00:00
drvctl Revert functional changes in previous, at expense of strict KNF conformance. 2018-02-14 17:43:09 +00:00
dump Document what rdump is (was once) for. PR 53442. 2018-07-15 06:14:13 +00:00
dump_lfs s/filesystem/file system/ 2017-06-07 15:24:50 +00:00
fastboot
fdisk Add missing -z flag to usage() 2018-08-27 14:55:46 +00:00
fsck file system police. 2016-09-11 09:09:54 +00:00
fsck_ext2fs Remove references to -c flag which was never included. 2018-08-27 15:16:49 +00:00
fsck_ffs Add a test for duplicate inodes on the persistent snapshot list. 2018-10-05 09:49:23 +00:00
fsck_lfs Remove duplicate assignments. 2018-06-12 20:12:21 +00:00
fsck_msdos Typos. 2018-02-08 09:05:16 +00:00
fsck_v7fs need <sys/stat.h> 2017-01-10 20:53:09 +00:00
fsdb Fix punctuation markup. 2017-08-05 20:25:41 +00:00
fsirand Document author and the version fsirand appeared. 2016-09-11 21:22:18 +00:00
gpt When changing entries skip those that do not match the -L option. 2018-10-14 20:10:49 +00:00
ifconfig Remove ISO & XNS references which are now long gone. 2018-07-31 20:54:18 +00:00
init init first appeared in V1 UNIX 2016-09-11 22:22:57 +00:00
iscsictl update client OS version as well 2015-08-30 10:49:57 +00:00
iscsid Add printf-like annotation. 2016-05-30 22:02:41 +00:00
ldconfig
luactl Direct reader to intro(9lua), lua(9) does not exist. 2017-04-10 19:49:39 +00:00
mbrlabel Handle sector sizes != 512, check partition overlaps, improve guessing 2018-03-30 13:14:25 +00:00
mknod Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
modload Fix Dt argument. 2017-07-18 19:50:54 +00:00
modstat Add a description for the new MODULE_CLASS_BUFQ class. 2016-11-16 10:43:37 +00:00
modunload Use standard section header. 2016-09-12 06:55:10 +00:00
mount Sort SEE ALSO. 2018-01-09 09:15:57 +00:00
mount_ados
mount_autofs It's not literal "-options" so use .Ar 2018-01-24 12:04:47 +00:00
mount_cd9660 vnconfig name is retained for backwards compatibility. Use vndconfig. 2018-06-30 09:27:41 +00:00
mount_chfs Document the version mount_chfs appeared. 2016-09-12 00:38:42 +00:00
mount_efs
mount_ext2fs Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_fdesc
mount_ffs
mount_filecore
mount_hfs Drop main() prototype. 2016-09-05 01:00:07 +00:00
mount_kernfs
mount_lfs Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_msdos Whilst mount_pcfs originated as a patch in 386BSD, NetBSD 0.8 actually was the first release of an OS to ship with it. 2016-10-11 16:10:03 +00:00
mount_nfs Remove Tn for standard abbreviations. 2018-05-17 06:37:06 +00:00
mount_nilfs Sort SEE ALSO. New sentence, new line. Punctuation nits. Use Nx. 2016-06-01 12:01:21 +00:00
mount_ntfs Use Xr instead of Fn to refer readdir(3) 2017-04-15 10:30:55 +00:00
mount_null Eliminate the distinct path check, since the paths don't actually need to be 2016-07-25 04:40:51 +00:00
mount_overlay
mount_portal Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
mount_procfs Bump date for previous. 2017-08-28 05:58:08 +00:00
mount_ptyfs Drop main() prototype. 2016-09-05 01:00:07 +00:00
mount_puffs New sentence, new line. Sort SEE ALSO. Fix typo. 2016-11-24 12:38:32 +00:00
mount_qemufwcfg Add libpuffs (fixes sun2 build) 2018-10-03 13:34:44 +00:00
mount_sysvbfs Add AUTHORS section. 2016-09-12 02:38:31 +00:00
mount_tmpfs Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems. 2016-02-21 22:51:29 +00:00
mount_udf Add HISTORY & AUTHORS section. 2016-09-12 02:45:07 +00:00
mount_umap
mount_union s/filesystem/file system/ 2017-06-07 15:24:50 +00:00
mount_v7fs Add HISTORY & AUTHORS section. 2016-09-12 02:57:09 +00:00
newbtconf Remove uses of test -o 2018-09-16 22:37:24 +00:00
newfs Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
newfs_ext2fs Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
newfs_lfs Enable the creation of lfs64 volumes. 2015-10-15 06:24:33 +00:00
newfs_msdos updates for GCC 6.4: 2018-02-04 09:03:23 +00:00
newfs_sysvbfs fix includes, addr __RCSID 2017-01-10 20:49:20 +00:00
newfs_udf Disable a couple of warnings until further investigation. 2017-01-11 12:19:43 +00:00
newfs_v7fs need <sys/stat.h> 2017-01-10 20:53:09 +00:00
nologin Mention author in AUTHORS section. 2016-09-12 05:23:32 +00:00
nvmectl nvmectl(8): Remove some wdc subcommands from man page. 2018-04-18 10:17:54 +00:00
ping un-ifdef sgi. NFC 2017-10-02 10:08:11 +00:00
ping6 Add code 3 of paramprob, part of RFC7112: "IPv6 First Fragment has 2018-04-24 07:22:32 +00:00
pppoectl Fix wrong macro, use An. 2018-09-25 09:55:41 +00:00
raidctl Follow the ioctl arg changes of RAIDFRAME_GET_COMPONENT_LABEL and 2018-03-24 19:41:35 +00:00
rcorder Drop main() prototype. 2016-09-05 01:00:07 +00:00
reboot A standalone reboot utility showed up in 4.0BSD. 2016-09-12 05:43:15 +00:00
resize_ffs Fix computation of left-over fragments also for ufs2. 2017-10-09 05:24:26 +00:00
resize_lfs
restore Remove superfluous macro. 2018-07-18 17:57:00 +00:00
rndctl
route Resolve every route(4) message type before printing anything more about it 2018-08-14 20:53:07 +00:00
routed update for GCC 6: 2018-02-06 09:33:07 +00:00
savecore Adapt funopen(3) call after switch to new zlib(3) 2017-01-10 04:42:20 +00:00
scan_ffs Teach scan_ffs about lfs64. 2015-10-15 06:25:23 +00:00
scsictl Fix format. 2017-03-08 11:45:14 +00:00
setkey
shutdown Use NULL instead of 0 for null pointer. 2017-08-07 22:08:12 +00:00
slattach
svhlabel
swapctl Minor formatting change in swapctl -l as noted in my PR bin/51155 2016-05-31 09:34:25 +00:00
sysctl kern.boottime was changed from a struct timeval to a struct timespec 2018-10-30 19:41:21 +00:00
ttyflags
tunefs
umbctl Mark _error() as printflikee 2018-08-02 03:40:51 +00:00
umount s/filesystem/file system/ 2017-06-07 15:24:50 +00:00
veriexecctl Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
wdogctl
wsconsctl
Makefile Install mount_qemufwcfg everywhere instead of just x86. 2018-09-30 15:56:46 +00:00
Makefile.inc