Commit Graph

12468 Commits

Author SHA1 Message Date
mlelstv
6afb7d5190 don't enable IXANY. 2014-07-12 05:28:07 +00:00
christos
11ecaffd58 remove dup usage print (enh at google dot com):
arm just sent us (Android) this:
https://android-review.googlesource.com/#/c/100970/1
2014-07-11 16:30:45 +00:00
apb
1546931886 mtree spec files want nanoseconds, so multiply the microseconds by 1000. 2014-07-06 20:54:47 +00:00
apb
117589e5c1 When printing a timestamp to a metalog, use 9 digits
for the nanoseconds part, except use only 1 digit if
the value was zero.
2014-07-06 20:50:03 +00:00
dholland
b7b7574d3b Reorg docs, part 1:
Move all the reference manuals to subdirs of /usr/share/doc/reference.
We have subdirs ref1-ref9, corresponding to man page sections 1-9.

Everything that's the reference manual for a program (sections 1, 6,
8), C interface (sections 2, 3), driver or file system (section 4),
format or configuration (section 5), or kernel internal interface
(section 9) belongs in here.

Section 7 is a little less clear: some things that might go in section
7 if they were a man page aren't really reference manuals. So I'm only
putting things in reference section 7 that are (to me) clearly
reference material, rather than e.g. tutorials, guides, FAQs, etc.
This obviously leaves some room for debate, especially without first
editing the docs with this distinction in mind, but if people hate
what I've done things can always be moved again.

Note also that while roff macro man pages traditionally go in section
7, I have put all the roff documentation (macros, tools, etc.) in one
place in reference/ref1/roff. This will make it easier to find and
also easier to edit it into some kind of coherent form.
2014-07-05 19:22:41 +00:00
dholland
c3ab26950f Rework /usr/share/doc.
Update the <bsd.doc.mk> infrastructure, and update the docs to match
the new infrastructure.

- Build and install text, ps, pdf, and/or html, not roff sources.

- Don't wire the chapter numbers into the build system, or use them in
the installed pathnames. This didn't matter much when the docs were a
museum, but now that we're theoretically going to start maintaining
them again, we're going to add and remove documents periodically and
having the chapter numbers baked in creates a lot of thrashing for no
purpose.

- Specify the document name explicitly, rather than implicitly in a
path. Use this name (instead of other random strings) as the name
of the installed files.

- Specify the document section, which is the subdirectory of
/usr/share/doc to install into.

- Allow multiple subdocuments. (That is, multiple documents in one
output directory.)

- Enumerate the .png files groff emits along with html so they can be
installed.

- Remove assorted hand-rolled rules for running roff and roff widgetry
and add enough variable settings to make these unnecessary. This
includes support for
   - explicit use of soelim
   - refer
   - tbl
   - pic
   - eqn

- Forcibly apply at least minimal amounts of sanity to certain
autogenerated roff files.

- Don't exclude USD.doc, SMM.doc, and PSD.doc directories from the
build, as they now actually do stuff.

Note: currently we can't generate pdf. This turns out to be a
nontrivial problem with no immediate solution forthcoming. So for now,
as a workaround, install compressed .ps as the printable form.
2014-07-05 19:22:02 +00:00
christos
bf51dc6d97 restore sccsid[]'s per core@'s decision 2014-06-26 02:14:32 +00:00
uwe
7fbcdeb13a Command file argument to -f is not optional. 2014-06-25 02:05:58 +00:00
shm
ce020e4866 PR/47319 use addgrp_ret_t instead of magic values 2014-06-23 06:57:31 +00:00
christos
ff4ba887a6 typo 2014-06-21 21:05:54 +00:00
christos
239f3a758e CID 10006930: Prevent outfile overwrite resource leak. 2014-06-21 17:43:04 +00:00
manu
fe10ff49c1 Use returned size and not buffer max length when displaying attribute
From Thomas Schmitt <scdbackup@gmx.net>
2014-06-20 15:22:01 +00:00
manu
f56cc676bf Do not record a trailing \0
From Thomas Schmitt <scdbackup@gmx.net>
2014-06-20 14:55:31 +00:00
njoly
e75f143af6 Remove fagile test which ensured that first namelist element (was
X_NCHSTATS) had a known type. Make disk stats available again for
vmstat display.
2014-06-20 07:08:15 +00:00
sjg
5e8aec3baa Return varNoError rather than var_Error for ::?= etc. 2014-06-20 06:13:45 +00:00
uwe
5a5964be39 Suppress space after -I and -i options in description too.
XXX: This should be documented explicitly.
2014-06-18 14:47:02 +00:00
uwe
8b8d85039c Suppress space after -I and -i options. 2014-06-18 14:26:15 +00:00
christos
c095d1ec95 Fix usage. The man page is incorrect with respect to -I and -i and need
fixing, but my troff foo is not there.
2014-06-18 14:15:50 +00:00
christos
71faadbf26 fix second line of synopsis. 2014-06-18 14:12:20 +00:00
wiz
55d6e53ccb Sync usage with manpage. 2014-06-18 09:41:29 +00:00
wiz
9825fbace6 Sort options. Use Ss for non-standard headers. New sentence, new line.
Add missing Op.
2014-06-18 09:35:31 +00:00
christos
a406f30e48 add -u (unbuffered output) after GNU sed. 2014-06-17 16:39:02 +00:00
wiz
980f4832e1 Fix -f description: it is also ignored if stdin is a FIFO.
From Philip Guenther via jmc@openbsd.
Bump date.
2014-06-15 11:37:56 +00:00
joerg
10aed88aaf GC X_NCHSTATS 2014-06-14 20:10:42 +00:00
joerg
99d9473857 Init summary counters. 2014-06-14 04:06:54 +00:00
joerg
11e7f587a5 Fix format string for ILP32. 2014-06-14 01:26:59 +00:00
joerg
67c88a0d78 Use kern.pool for the live system. 2014-06-13 19:10:01 +00:00
joerg
7be9a8f800 Remove unused headers. 2014-06-13 11:26:37 +00:00
joerg
375882325f Remove KVM support. 2014-06-11 14:57:55 +00:00
christos
3a475c5557 PR/48883: Justin Cormack: Cope with systems that don't provide REG_STARTEND 2014-06-09 12:48:58 +00:00
mlelstv
e34b3bf0dd Handle ctime() failure. 2014-06-08 09:53:43 +00:00
enami
ac4742896b Fix signal delivery to remote process; As described in rcmd(3), a signal
is delivered to the remote process via the secondary channel.  So,
the backend driver, rcmd(1), is responsible to watch the file descriptor 2
and transfer the data to the remote process, rather than receiving signal
by itself.  Previously, signal generated by tty was sent since rcmd was
incorrectly generated the data, but, for example, signal sent to rsh command
by kill command was ignored.
2014-06-08 02:44:15 +00:00
enami
bd8959c84b Whitespace nits. 2014-06-08 02:02:41 +00:00
enami
97fb545d9f Remove kerberos support code completely. It no longer compiles anyway.
OK'ed by christos on tech-userlevel.
2014-06-08 01:44:52 +00:00
christos
999f583a86 put back WARNS=6 2014-06-07 16:37:32 +00:00
christos
72feb6a6b9 PR/48880: Ryo ONODERA: Unapply one of our patches that broke 'G'. 2014-06-07 16:36:54 +00:00
ryoon
83acbdf28c Restore G command 2014-06-07 06:02:27 +00:00
wiz
15b8d8629f Renumber so that 3 follows 2. 2014-06-06 21:56:39 +00:00
christos
26bea92f67 After 2 comes... 2014-06-06 14:36:38 +00:00
joerg
6457787c51 usage is __dead. Kill useless sccsid. 2014-06-06 12:46:54 +00:00
christos
81af4b3486 Prefer setvbuf for those who have it. 2014-06-06 01:45:11 +00:00
christos
186a5e22f3 add netbsd 2014-06-06 00:14:55 +00:00
christos
ef24ec4ecc Merge our changes. 2014-06-06 00:13:13 +00:00
joerg
deae2c9ba3 Always use_sysctl in preparation of removing all kvm code. 2014-06-03 22:22:41 +00:00
joerg
6cf722d5a8 GC left-over kread. 2014-06-03 21:56:30 +00:00
joerg
472ed4a521 Use CPU statistics from uvmexp when possible. 2014-06-03 21:56:03 +00:00
joerg
201b45ebb5 Use kern.clockrate if possible. 2014-06-03 21:45:41 +00:00
joerg
100b00cbbc Convert the remaining uvmexp users to the sysctl as default source. 2014-06-03 21:41:56 +00:00
joerg
5b23be7ac8 Use vm.uvmexp data as much as possible for vmstat -s.
Temporarily disable shadowing warning until the other users are cleaned
up.
2014-06-03 21:31:54 +00:00
joerg
94adc2671a Provide sysctl for namecache statistics. 2014-06-03 21:16:15 +00:00