Commit Graph

5626 Commits

Author SHA1 Message Date
phk
553d1d6989 Make md(4) and mdconfig(8) take over the role of vn(4) and vnconfig(8)
entirely as previously advertised.

md(4) adopted all assets of vn(4) some time back and has proper devfs
support and cloning abilities to boot.
2001-03-09 20:09:28 +00:00
phk
54384d998a Make md(4) more in line with reality.
NB: probably contains mdoc mistakes, feel free to fix.
2001-03-09 20:07:37 +00:00
ru
5f61f8e47f mdoc(7) police: in mdocNG, -offset and -width values without scaling
indicator are treated as strings, so "-offset 0" will set the offset
to the width of the string "0", as opposed to "no offset".

TIP: if offset is not needed, the -offset clause may be omitted.
2001-03-09 16:22:37 +00:00
alex
8080165a1b Add module.9 and DECLARE_MODULE.9 2001-03-09 14:16:46 +00:00
alex
4b52e64a12 Add a general manpage about kernel modules, similar to driver(9).
Reviewed by:	dfr, ru
2001-03-09 14:12:43 +00:00
alex
06c771f80f Add a manpage for the kernel macro DECLARE_MODULE.
Reviewed by:	dfr, ru
2001-03-09 14:11:56 +00:00
ru
5639e86bdd Make it possible to use IP_TTL and IP_TOS setsockopt(2) options
on certain types of SOCK_RAW sockets.  Also, use the ip.ttl MIB
variable instead of MAXTTL constant as the default time-to-live
value for outgoing IP packets all over the place, as we already
do this for TCP and UDP.

Reviewed by:	wollman
2001-03-09 12:22:51 +00:00
jhb
12430ff9ce Document how to compile KTR into the kernel, tweak its behavior, and
examine the event logs in ddb(4).
2001-03-09 03:43:18 +00:00
jhb
61d1517c16 Document the ithread_* API used to manage interrupt threads and their
list of handlers.
2001-03-09 03:30:20 +00:00
jhb
b1aac95920 Add 2001 to copyright. 2001-03-09 03:17:18 +00:00
jhb
4664d7c8cc - Add 2001 to copyright.
- Kthread functions return an error status, they don't set errno to an
  error status.
- Remove the BUGS section as all the bugs listed have been fixed now.
2001-03-09 03:09:30 +00:00
jhb
3d99a7c133 The 'gdb' command works on the alpha as well as the i386. 2001-03-09 03:07:53 +00:00
ru
4a425f9481 MFS: update HISTORY, synch dates. 2001-03-07 12:52:53 +00:00
ru
9178a8a38c Replace custom type of comments here too. 2001-03-07 09:26:18 +00:00
sos
bfd72934ab Update woith latest chipsets and options 2001-03-07 08:12:24 +00:00
markm
58f4338eb4 Grammar police. 2001-03-06 10:19:12 +00:00
markm
f0fcbd1ff4 Fix markup.
Submitted by:	ru
2001-03-06 10:08:36 +00:00
ru
f42631d99b mdoc(7) police: Use Vt for variable types. 2001-03-06 08:22:10 +00:00
gshapiro
9962fbbba0 Use a different example to avoid confusion 2001-03-06 02:06:02 +00:00
gshapiro
5f1f5e2203 Do not change the directory permissions for the source area, just the
install area.

Noticed by:	msmith
2001-03-06 02:01:57 +00:00
jhb
72b9c05ef5 Adjust swi.9 MLINKS to catch up to the new swi API. 2001-03-05 23:48:38 +00:00
jhb
1e5bfa2386 Catch up to the new swi API. 2001-03-05 23:47:34 +00:00
jasone
cd006e6a5c Implement shared/exclusive locks.
Reviewed by:	bmilekic, jake, jhb
2001-03-05 19:59:41 +00:00
assar
4c2aa2014d remove warning of experimental nature of heimdal. it's now the same
version as the one in ports (and the latest at that), except that not
all programs that are in the port get built
2001-03-05 18:54:27 +00:00
ru
cc0c5115b3 Fixed typo. 2001-03-05 15:37:03 +00:00
ru
252905667c mdoc(7) police: misc fixes. 2001-03-05 14:25:41 +00:00
ru
23b112e09e mdoc(7) police: markup/spelling fixes. 2001-03-05 10:03:03 +00:00
phk
ea99eb04e5 Give the shoe-laces a distinct color so they don't disappear on b/w
daemons.
2001-03-04 09:13:17 +00:00
assar
c78c138f0f implement OCRNL, ONOCR, and ONLRET
Obtained from:	NetBSD
2001-03-04 06:04:50 +00:00
kris
e85d61bbf0 Correct the comment above MAKE_IDEA to be less confusing now that we
only have one patented algorithm in make.conf.
2001-03-04 03:14:27 +00:00
cokane
f2faec1441 Small style fix, remove highlight from second list in FILES section. 2001-03-03 22:54:00 +00:00
cokane
b9ca784e5a Added a man page for the tdfx 3Dfx Voodoo I/II device driver 2001-03-03 22:47:19 +00:00
mjacob
ea5e297c85 include paths.h for _PATH_DEV 2001-03-03 21:23:31 +00:00
markm
a09585039a Minor fixes. ManPolice stuff, and a clarification of interrupt
harvesting.
2001-03-03 14:21:58 +00:00
markm
4ad8ae0ca1 Extra MLINKS to reflect expansion of BUS_SETUP_INTR(9) manpage. 2001-03-03 14:19:39 +00:00
markm
272222aea8 Add a whole lot of extra info. Lots was gained from reading code
or comments, and some is as a result of simply documenting the
entropy harvester.

This still needs work: could a newbus guru pleazse follow up
and fix.extend my (no doubt) obvious mistakes!
2001-03-03 14:13:53 +00:00
ache
ac92f859da Clear am and pm fields, add empty ampm_fmt for locales I know is not AM/PM 2001-03-02 22:27:27 +00:00
ru
a031347b2f mdoc(7) police: fix markup. 2001-03-02 09:59:58 +00:00
ru
df8b1abba5 mdoc(7) police: in -offset clause, spell the ``indent'' correctly. 2001-03-02 09:38:50 +00:00
ru
2d4d97b177 Fix the rest of formatting. 2001-03-02 08:09:19 +00:00
imp
105d968610 Add link for resource_query_unit, now documented in the
resource_query_string man page.
2001-03-02 04:32:50 +00:00
imp
fa03534383 Flesh out this man page a bit more. Add information about
resource_query_unit and improve the descriptions of the parameters
passed to these functions.

Plus a couple minor formatting/markup changes:
o Quote -1 as \-1.
o .Dq hints to match resource_int_value().
2001-03-02 04:30:16 +00:00
ru
492c46ef17 Update the BUGS section.
The first bug is fixed in tmac.doc, revision 1.21.
The second bug fixed in doc-common, revision 1.33.
2001-03-01 12:58:54 +00:00
asmodai
20155d87d9 Correct English used. 2001-03-01 09:37:38 +00:00
ru
028bd93906 Numerous formatting/content fixes. 2001-03-01 09:11:16 +00:00
asmodai
d202e7235d Hook Warner's resource_* manpages to the build.
This includes appropriate MLINKS for the other functions contained
within them.
2001-03-01 09:06:57 +00:00
asmodai
65a378a0df Remove leading . from .Nd description. 2001-03-01 09:02:01 +00:00
asmodai
ad9a725f7e Fix typo: the the -> to the. 2001-03-01 09:01:43 +00:00
imp
b3f8c9cab9 Document the resource_*_value and resource_query_string families of
functions.  These man pages likely need some markup work, so I've
specifically not added them to the Makefile yet.
2001-03-01 04:28:40 +00:00
ru
f4325cbb8b Eliminate mdocNG warnings caused by misplaced or extraneous macro calls. 2001-02-28 17:38:53 +00:00
ru
e7ebccfa37 Prepare for mdocNG. 2001-02-28 13:18:04 +00:00
mjacob
2143eb8428 update man page wrt hints usage 2001-02-27 23:33:17 +00:00
kris
23b79b16b0 Add definitions and support for the AMD k6-2, Pentium MMX (i586/MMX),
and Pentium II, III and IV processors (p2, p3, p4), as well as 'mmx' and
'3dnow' MACHINE_CPU tags as appropriate.  In the near future this will
be used to control various ports which have MMX/3dNow optimizations,
instead of the ad-hoc methods currently used.

Reviewed by:    peter
2001-02-27 11:21:47 +00:00
asmodai
3b5bbecd16 Short lived fame for -Wundef.
Second thoughts by:	bde
2001-02-27 10:16:56 +00:00
asmodai
cfac8ceef1 Add -Wundef to BDECFLAGS:
Warn if an undefined identifier is evaluated in an `#if' directive.

Not objected to by:	bde
2001-02-27 09:03:55 +00:00
ru
c69ef19c3a mdoc(7) police: utilize .St macro. 2001-02-26 16:02:53 +00:00
ru
703a07cec6 mdoc(7) police: utilize .St. 2001-02-26 15:57:37 +00:00
ru
ba42cfc998 Use ``.St -p1003.1-96''. 2001-02-26 15:16:43 +00:00
ru
ec147c6b0d /^\.St/ s/-iso9945-1/-p1003.1-96/ 2001-02-26 14:48:38 +00:00
ru
3ff23f918d .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
kris
2e1d246fb0 Update the list of OpenSSL manpages (now contains many more describing
libssl, for example), and hide it behind a make.conf option,
WANT_OPENSSL_MANPAGES, instead of having it commented out.  We still can't
install these by default because of clobbering of a number of system
manpages with the same name, but they're there for people who want them.
2001-02-25 21:42:12 +00:00
tanimura
1c89ea7f7f I thought it was a new CPU :)
s/i585/i586/
2001-02-24 02:59:32 +00:00
imp
4b6751a611 Force TERM to be dumb when building termcap. ex in batch mode seems
to care about the terminal setting.  In emacs, make buildworld was
broken because it sets TERM to emacs, which caused ex to fail.
2001-02-24 00:02:55 +00:00
julian
575ee59b1c Shuffle sysctls a bit (thankyou whoever made them dynamic for modules)
and add a sysctl to pppoe to activate non standard ethertypes
so that idiot ISPs (apparently in France) who use
equipment from idiot suppliers (rumour says 3com)
who use nonstandard ethertypes can still connect.

 "yep, sure we do pppoe, we use a different identifier to that dictated in
 the standard, but sure it's pppoe!"

sysctl -w net.graph.stupid_isp=1 enables the changeover.
2001-02-23 16:34:22 +00:00
ru
c6eb25402d Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.
The new Groff release will support this feature.

Requested by:	peter
2001-02-23 09:35:33 +00:00
green
028498d58b Typo: "interrupt" -> "harvest_interrupt" 2001-02-23 01:12:44 +00:00
gshapiro
ed410f8195 Need one additional make.conf knob, SENDMAIL_ADDITIONAL_MC to satisfy bug
report.  It allows building multiple .cf files at build time.

PR:		bin/19897
2001-02-22 19:44:16 +00:00
gshapiro
1d44916580 Add a note indicating that SENDMAIL_MC should include the path. This is
necessary if you expect to be able to use this setting in both /etc/mail
and etc/sendmail.
2001-02-22 19:34:13 +00:00
julian
e658f358fd Add a 'splitter' node to separate a bidirectional
packet flow into two unidirectional flows.

Part of a suite of nodes developed for packet flow control.
More to follow as I have time to port them to 5.x or
as others do so. The ipfw node will be the hardest..

Submitted by:	"Vitaly V. Belekhov" <vitaly@riss-telecom.ru>
2001-02-22 17:14:36 +00:00
ru
4134c447cb Only descend into ${MACHINE_ARCH} subdir. 2001-02-22 15:28:57 +00:00
ru
9162338459 mdoc(7) police: fixed misc formatting bugs. 2001-02-22 12:07:28 +00:00
kris
b7d8207daf Overhaul the MACHINE_CPU behaviour:
* Rip out MACHINE_CPU stuff from sys.mk and include a new <bsd.cpu.mk>
  after we pull in /etc/make.conf.  We need to do it afterwards so we can
  react to the user setting of the:

* CPUTYPE variable, which contains the CPU type which the user wants to
  optimize for.  For example, if you want your binaries to only run on an
  i686-class machine (or higher), set this to i686.  If you want to support
  running binaries on a variety of CPU generations, set this to the lowest
  common denominator.  Supported values are listed in make.conf.

* bsd.cpu.mk does the expansion of CPUTYPE into MACHINE_CPU using the
  (hopefully) correct unordered list of CPU types which should be used on
  that CPU.  For example, an AMD k6 CPU wants any of the following:
    k6 k5 i586 i486 i386
  This is still an unordered list so the client makefile logic is simple -
  client makefiles need to test for the various elements of the set in
  decreasing order of priority using ${MACHINE_CPU:M<foo>}, as before.
  The various MACHINE_CPU lists are believed to be correct, but should be
  checked.

* If NO_CPU_CFLAGS is not defined, add relevant gcc compiler optimization
  settings by default (e.g. -karch=k6 for CPUTYPE=k6, etc).  Release
  builders and developers of third-party software need to make sure not to
  enable CPU-specific optimization when generating code intended to be
  portable.  We probably need to move to an /etc/world.conf to allow the
  optimization stuff to be applied separately to world/kernel and external
  compilations, but it's not any worse a problem than it was before.

* Add coverage for the ia64/itanium MACHINE_ARCH/CPUTYPE.

* Add CPUTYPE support for all of the CPU types supported by FreeBSD and gcc
  (only i386, alpha and ia64 first, since those are the minimally-working
  ports.  Other architecture porters, please feel free to add the relevant
  gunk for your platform).

Reviewed by:    jhb, obrien
2001-02-22 11:22:46 +00:00
kris
a1e08c4bce Overhaul the MACHINE_CPU behaviour:
* Rip out MACHINE_CPU stuff from sys.mk and include a new <bsd.cpu.mk>
  after we pull in /etc/make.conf.  We need to do it afterwards so we can
  react to the user setting of the:

* CPUTYPE variable, which contains the CPU type which the user wants to
  optimize for.  For example, if you want your binaries to only run on an
  i686-class machine (or higher), set this to i686.  If you want to support
  running binaries on a variety of CPU generations, set this to the lowest
  common denominator.  Supported values are listed in make.conf.

* bsd.cpu.mk does the expansion of CPUTYPE into MACHINE_CPU using the
  (hopefully) correct unordered list of CPU types which should be used on
  that CPU.  For example, an AMD k6 CPU wants any of the following:
    k6 k5 i586 i486 i386
  This is still an unordered list so the client makefile logic is simple -
  client makefiles need to test for the various elements of the set in
  decreasing order of priority using ${MACHINE_CPU:M<foo>}, as before.
  The various MACHINE_CPU lists are believed to be correct, but should be
  checked.

* If NO_CPU_CFLAGS is not defined, add relevant gcc compiler optimization
  settings by default (e.g. -karch=k6 for CPUTYPE=k6, etc).  Release
  builders and developers of third-party software need to make sure not to
  enable CPU-specific optimization when generating code intended to be
  portable.  We probably need to move to an /etc/world.conf to allow the
  optimization stuff to be applied separately to world/kernel and external
  compilations, but it's not any worse a problem than it was before.

* Add coverage for the ia64/itanium MACHINE_ARCH/CPUTYPE.

* Add CPUTYPE support for all of the CPU types supported by FreeBSD and gcc
  (only i386, alpha and ia64 first, since those are the minimally-working
  ports.  Other architecture porters, please feel free to add the relevant
  gunk for your platform).

Reviewed by:    jhb, obrien
2001-02-22 11:14:25 +00:00
wosch
31ead84953 Added upcoming FreeBSD 4.3 2001-02-22 11:09:50 +00:00
nik
1e23c23d2c Add quota.user(5) and quota.group(5) man pages.
PR:		docs/25124
2001-02-22 11:06:54 +00:00
ru
9177fc64e9 Document that the IPFW messages are logged via syslogd(8). 2001-02-22 09:12:44 +00:00
gshapiro
a299914603 Add a new make knob, SENDMAIL_MC, which is meant to replace SENDMAIL_CF as
users should be configuring via m4 now.  If set, use m4 to create the .cf
file.  Also, if either SENDMAIL_MC or SENDMAIL_CF is set, 'make install' or
'make distribution' in src/etc/sendmail/ will install the appropriate .cf as
/etc/mail/sendmail.cf.  This fixes some mergemaster problems.

PR:		conf/13016
2001-02-22 04:11:52 +00:00
ben
c2f1a1810b Expand
if ((foo = bar()) != 0)

to
	foo = bar();
	if (foo != 0)

Submitted by:	phk
2001-02-21 20:43:55 +00:00
ben
855f3f1d18 Don't suggest
if (error = function(a1, a2))

since it causes a warning with -Wall.  Change it so it has an explicit test
against zero,

	if ((error = function(a1, a2)) != 0)
2001-02-21 12:10:19 +00:00
ru
3f4541558a These pages are not i386-specific. 2001-02-20 12:13:29 +00:00
ru
6d1e67599e Remove the MD part from the document title.
Forgotten by:	obrien
2001-02-20 11:07:27 +00:00
kris
42c3bc11f7 Typo fixes: prefered -> preferred
There are some others in contributed/external code I haven't touched.
2001-02-20 10:30:22 +00:00
kris
5028a2dad3 Turns out we do need to do bootstrapping of MACHINE_CPU here: make(1) won't
set the variable until you rebuild it, and the alternative is to be stuck
playing games with ``.if defined(MACHINE_CPU) && ... '' for all eternity.
We now set up the reasonable default for i386 and alpha here -- given this
it probably makes sense to remove the corresponding code from make(1).
2001-02-20 08:37:51 +00:00
kris
5ffc1ada61 Remove bogus setting of MACHINE_CPU here. There is no need for it.
Submitted by:	bde
2001-02-19 23:33:13 +00:00
markm
ddf672d032 Cosmetic and spelling fixes. Includes some MDOC policework.
Submitted by:	ru (mostly)
2001-02-19 20:08:01 +00:00
phantom
aa6ca61ecf add LC_MONETARY, LC_MESSAGES and LC_NUMERIC definitions for ru_RU.CP866 and
ru_RU.ISO_8859-5 locales
2001-02-19 20:05:22 +00:00
phantom
1642dbf1c2 . add comment that 4 character of int_curr_symbol should be SPACE
. fix chinese locales to meet this requirement
2001-02-19 18:55:34 +00:00
ru
4cbf75ec11 Remove (now unnecessary) MLINKS. 2001-02-19 15:52:38 +00:00
ru
149aaaf619 mdoc(7) police: well-known section name is EXAMPLES, not EXAMPLE. 2001-02-19 10:49:15 +00:00
archie
36f2d71cec Slight improvement to previous checkin. 2001-02-19 04:06:30 +00:00
archie
2baf820df6 Add an example showing how to configure a node from the command line. 2001-02-19 04:00:52 +00:00
kris
337d7ba539 Introduce support for using OpenSSL ASM optimizations. This is done
through the use of a new build directive, MACHINE_CPU, which contains a
list of the CPU generations/features for which optimizations are desired.
This feature will be extended to cover the ports tree in the future.

Currently OpenSSL provides optimizations for i386, i586 and i686-class
CPUs. Currently it has not been tested on an i386 or i486.

Teach make(1) to provide sensible defaults for MACHINE_CPU if it is not
defined (namely, the lowest common denominator CPU we support for each
architecture).  Currently this is i386 for the i386 architecture and ev4
for the alpha.  sys.mk also sets the variable as a last resort for
consistency with MACHINE_ARCH and bootstrapping from very old versions of
make.

Benchmarks show a significant speed increase even in the i386 case, with
additional improvements for i586 and i686 systems.  For maximum performance
define MACHINE_CPU=i686 i586 i386 in /etc/make.conf.

Based on a patch submitted by:  Mike Silbersack <silby@silby.com>
Reviewed by:    current
2001-02-19 03:59:05 +00:00
peter
336d5fa6f8 Move the sendmail -q from cron to periodic, as suggested by a few people.
This has the benefit of adding a random start time element as daily
processing takes a different amount of time on different machines.
2001-02-19 02:47:42 +00:00
markm
5eeb5f7b26 Document the entropy device.
If you want to know how to harvest network traffic and interrupts,
READ HERE!
2001-02-18 18:08:43 +00:00
kris
e3ae1d8f12 Zap LIBTCL, it's been superfluous for several years. 2001-02-18 11:58:54 +00:00
abial
13207d0110 Add yesstr/nostr. 2001-02-18 11:17:41 +00:00
asmodai
0f00927ea0 Preceed/preceeding are not english words. Use precede or preceding. 2001-02-18 10:25:42 +00:00
asmodai
26cc3fc3c9 Preceed/preceeding are not english words. Use precede or preceding.
Add $FreeBSD$.
2001-02-18 10:25:31 +00:00
ache
749008ef4d Add hu_HU
Submitted by:	Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
2001-02-18 06:51:01 +00:00
phk
e5bed7640f Add some FreeBSD logo material to the tree:
"FreeBSD.pfa" - the (postscript) font used to write "FreeBSD".
  "beastie.fig" - a 4.3 BSD style Daemon in vector graphic.
  "beastie.eps" - same converted to encapsulated postscript.
  "poster.sh" - an example how to use this stuff.
  "README" - the full story.
2001-02-17 19:14:42 +00:00