Commit Graph

3012 Commits

Author SHA1 Message Date
Jens Schweikhardt
f1a4969a04 Correctly capitalize MHz and GHz.
MFC after:	3 days
2002-03-16 17:31:46 +00:00
Jens Schweikhardt
9d0e429cbe Typo; s/Filesytems/Filesystems/
MFC after:	3 days
2002-03-16 17:26:07 +00:00
Mark Murray
589622caaa Document NO_PERL. 2002-03-16 15:14:41 +00:00
Murray Stokely
6f9ac6fee0 Markup fix. Use .Va instead of .Ev. No content changes. 2002-03-15 23:34:17 +00:00
Murray Stokely
b3a43ea37a Add a description of the TARGET variable, and add more information
about the TARGET_ARCH variable. (1)

Add information about the DESTDIR variable.

Add more examples for cross-building.

(1) Submitted by:     ru
MFC after:	      3 days
2002-03-15 23:29:24 +00:00
Ruslan Ermilov
2eff01c7e0 mdoc(7) police: Kill the (now extraneous) empty line. Previously,
.Bd erroneously defaulted to -compact mode in the SYNOPSIS section.
2002-03-15 12:04:49 +00:00
Murray Stokely
1bcf2f1a12 Even more markup / whitespace fixes:
* Use .Va instead of .Ev
* Remove a trailing whitespace at EOL.
* Quote some arguments.

Submitted by:	ru
2002-03-15 09:23:21 +00:00
Luigi Rizzo
23519ffa51 Bunch of manpage fixes from Bruce Montague. 2002-03-15 09:02:26 +00:00
Robert Watson
b45deeb2a5 NAI DBA update. 2002-03-14 21:58:58 +00:00
Jens Schweikhardt
ac20ab0d2d Grammar bogon: s/structure a route/structure of a route/
MFC after:	3 days
2002-03-14 18:43:09 +00:00
Jens Schweikhardt
50dc00f1a2 Typo; s/lister/listener/
MFC after:	3 days
2002-03-14 18:34:46 +00:00
Murray Stokely
b82e53e2bd Add an ENVIRONMENT section, and document TARGET_ARCH and NO_WERROR.
Add a cross-build example.
2002-03-14 09:38:24 +00:00
Murray Stokely
afb3369031 Various mdoc fixes.
Submitted by:	ru
2002-03-14 04:21:50 +00:00
Giorgos Keramidas
7167868368 Fix syntax error. 2002-03-13 18:37:40 +00:00
Robert Watson
23ed9ff689 Document the "lomac_enable" rc.conf switch.
Reminded by:	Makoto Matsushita <matusita@jp.FreeBSD.org>
2002-03-13 15:28:37 +00:00
Murray Stokely
994c71f0c8 * Simplify the synopsis.
* Remove trailing whitespace at EOL.
* Various grammar cleanups.
* Note that MAKE_ISOS is disabled by default.
* Use more descriptive mdoc markup.
* Use proper references for the online FDP documents.

Submitted by:	dd
2002-03-13 09:54:31 +00:00
Murray Stokely
a54bda91f5 Reference release(7) in SEE ALSO. 2002-03-13 06:59:39 +00:00
Murray Stokely
de26e0ad7a Add a makefile to document the release building process.
Specifically, this documents the available targets and relevant
environment variables for "make release".  LOCAL_PATCHES,
RELEASEDISTFILES, RELEASENOUPDATE, etc.. are covered.

A future commit should add more information about drivers.conf,
boot_crunch.conf, and other less well-known aspects of the release
build.

Reviewed and history section added by:	phk
2002-03-13 06:33:26 +00:00
Archie Cobbs
44a8ff315e Add realloc() and reallocf(), and make free(NULL, ...) acceptable.
Reviewed by:	alfred
2002-03-13 01:42:33 +00:00
Robert Watson
9ed55d1061 Add a bugs notice indicating that the SEESENT flag may behave incorrectly
on interfaces with hardware loopback, and point-to-point interfaces
(unclear why that is, may need to be tracked down).
2002-03-13 00:04:53 +00:00
Murray Stokely
2732c17015 This driver first appeared in FreeBSD 4.5, not 5.0. 2002-03-12 12:26:05 +00:00
Murray Stokely
5d3d0230e6 Point readers to the Porter's Handbook instead of the non-existant
"Porting Applications" section of the FreeBSD Handbook.

MFC After: 2 days
2002-03-12 09:45:29 +00:00
Maxim Konovalov
d378717e70 Add a bunch of functions.
PR:		docs/32561
Reviewed by:	deischen, ru
Approved by:	ru
MFC after:	2 weeks
2002-03-11 10:45:18 +00:00
Crist J. Clark
1e1d598496 Don't protect savecore(8) from being run with a bad dumpdir
argument. Don't fail silently, but let savecore(8) make noise. It
won't behave badly, it doesn't need protection.

At the same time, allow the administrator to have dumpdev enabled
while dumpdir (savecore(8)) is disabled and document how to do it.

PR:		conf/35725
2002-03-11 08:47:02 +00:00
Dima Dorfman
2f5f12f5a7 Link scbus(4) to scsi(4). Most of the other CAM devices have their
own manual pages, but this is better than nothing until someone writes
a real scbus(4).

PR:		35641
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-03-10 09:21:50 +00:00
Dima Dorfman
53710503e9 The chapter on kernel debugging is now in the Developers' Handbook.
Add a trailing slash to a URL while I'm here.

PR:		35637
Submitted by:	Gary W. Swearingen <swear@blarg.net>, setantae@submonkey.net
2002-03-10 09:15:22 +00:00
Luigi Rizzo
95651ec70e Forgot to update the date.
The manpage describes the latest batch of changes, and especially the
runtime config was totally different before.
2002-03-09 20:18:31 +00:00
Luigi Rizzo
27530a537c Lots of updates on the install process, detailing how to
install PicoBSD on hard disks and CDROM images, and on the
bootstrap sequence and the places where you can customise
a PicoBSD image.

Now if some of the -doc guys want to put this stuff in a nice
handbook page, that would be extremely useful!
2002-03-09 20:16:06 +00:00
Mike Barcroft
8a1791edf4 Create a manual to document the new kernel byte order conversion
functions.

Reviewed by:	tmm
2002-03-06 01:53:35 +00:00
Dima Dorfman
0db0f1925a Document cru2x(). 2002-03-03 03:27:28 +00:00
Dima Dorfman
00805a5267 Add information about {kerberos,kadmind}5_enable and change
{kerberos,kadmind}_enable to {kerberos,kadmind}4_enable to match
reality.  Fix some mismatched parentheses while I'm here.

PR:		34982
Submitted by:	Michel Oosterhof <m.oosterhof@xs4all.nl>
2002-03-03 02:02:33 +00:00
Mark Murray
7d6ad52aa0 Fix required includes in accordance with recent source fixes.
Submitted by:	bde
2002-03-01 18:43:15 +00:00
Bruce A. Mah
fe7f645981 Fix typo: s/of/or/
PR:		35291
Submitted by:	John Nielsen <zoobie@bsdconspiracy.net>
		Tom Rhodes <darklogik@pittgoth.com>
2002-03-01 17:29:51 +00:00
Giorgos Keramidas
6057ffa65a Fix typo.
PR:		docs/35422
Submitted by:	Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>
2002-02-28 22:44:15 +00:00
Chad David
25416dcedf Note the the process group is returned locked. 2002-02-28 07:06:31 +00:00
Warner Losh
ad30894246 The do { } while (0) macro example was missing a space after the 'e'. 2002-02-27 23:16:34 +00:00
Brooks Davis
872f786a75 Make gif(4) nesting level and parallel tunnel support tunable at runtime
via sysctl's.  The old #defines, MAX_GIF_NEST and XBONEHACK are
currently supported for backwards compatability, but will probably be
removed at some point in the future.
2002-02-26 01:56:56 +00:00
Brian Somers
637612f07a Document NGM_PPPOE_ACNAME. 2002-02-20 15:55:02 +00:00
Crist J. Clark
29c0f078e2 There is no reason to demand the administrator set 'natd_interface'
when running natd(8) out of the rc-files. It is perfectly valid for
the interface or alias address to be set in a natd(8) configuration
file, not on the command line. Also, loosen up the restrictions on
identifying an IP address argument in 'natd_interface.'

Fix the documentation, rc.conf(5), to reflect this change.

Take the bogus default for 'natd_interface' out of /etc/defaults/rc.conf.

MFC after:	3 days
2002-02-20 10:31:01 +00:00
Luigi Rizzo
caacfd9a33 Remove a blank line. 2002-02-18 01:59:40 +00:00
Luigi Rizzo
c90e28a7a1 Manpage update: comment existing functionalities and give
more detailed examples on how to use them.
Undocument deprecated functionalities which are going to be
removed soon.
2002-02-18 01:57:56 +00:00
Robert Watson
aa5ff764fa Two license updates. 2002-02-18 01:28:01 +00:00
Robert Watson
2f2f40f261 Language clarification: s/an or/a/ 2002-02-18 00:21:05 +00:00
Robert Watson
992e463887 Clarify word choice: s/those users/users/, since there is no previous
instance of 'users' to refer to.
2002-02-18 00:20:12 +00:00
Gregory Neil Shapiro
feb15b97ab Add infrastructure for sendmail 8.12. If users are not starting a daemon
at boot (sendmail_enable=NO), a localhost-only daemon may started
(sendmail_submit_enable) as it is needed to accept mail from command line
submissions.  If this isn't desired, see etc/mail/README for more hints.

Optionally (sendmail_msp_queue_enable) start a queue runner for the
submission queue in case a daemon isn't available to accept command line
submitted mail at submission time.

Note that the syslog labels for all of these sendmail processes have been
uniquified for easier log parsing.
2002-02-17 22:19:14 +00:00
Gregory Neil Shapiro
474c81fdd8 Document new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
set-user-ID root binary instead of the new method (set-group-ID smmsp).
2002-02-17 22:10:06 +00:00
John Hay
9c564b6c92 Add the puc (PCI "Universal" Communications) driver. The idea and some of
the structure definitions come from NetBSD to make it easier to share card
definitions. The driver only acts as a shim between the pci bus and the
sio driver. Later pci parallel ports could also be supported through this
driver. Support for most single and multiport pci serial cards should be
as simple as adding its definition to pucdata.c

Tested with the following pci cards:
Moxa Industio CP-114, 4 port RS-232,RS-422/485
Syba Tech Ltd. PCI-4S2P-550-ECP, 4 port RS-232 + 2 parallel ports
Netmos NM9835 PCI-2S-550, 2 port RS-232
2002-02-16 15:12:14 +00:00
Luigi Rizzo
235b52974f new entry for polling manpage
(wonder why the process cannot be made automatic...)
2002-02-15 08:36:06 +00:00
Luigi Rizzo
2b930ff963 Add a manpage for DEVICE_POLLING 2002-02-15 08:34:33 +00:00
Luigi Rizzo
af33f26465 Update manpage to reflect reality. 2002-02-15 07:47:39 +00:00
Prafulla Deuskar
a59716d2d8 - Added support for receive in multiple
descriptors. This simplifies code for jumbo frames.
- Cleaned up coding conventions to make code more unix-like.
- Cleaned up code in if_em_fxhw.c and if_em_phy.c.
  Added relevant comments.

MFC after:	1 week
2002-02-13 18:19:27 +00:00
Dima Dorfman
44c63b6447 The routine is dev_depends(); consistently spell it that way.
PR:		34047
Submitted by:	Maxime Henrion <mux@sneakerz.org>
Pointy hat to:	dd
2002-02-11 01:21:29 +00:00
Robert Watson
8466e2ba43 Reinforce locking requirement for VOP_REVOKE: the lock must not be held.
Discussed with:	phk
2002-02-10 20:48:22 +00:00
Robert Watson
b3b414b604 Revert 1.14: VOP_GETATTR() really does require a vnode lock.
Confirmed by:	mckusick
2002-02-10 19:28:34 +00:00
Dima Dorfman
2f47d083f2 memrange.h is in sys/.
PR:		34460
Submitted by:	Bruce Dang <bruce@research.teamxor.org>, roam
2002-02-10 08:52:25 +00:00
Mark Murray
2bbc414f52 Don't hardcode paths. This is generally silly, and in this case
breaks custom installworlds.

Pointed out by:	bde
2002-02-08 21:28:07 +00:00
Brian Feldman
c3c2d89da9 Correct copyright. 2002-02-07 19:07:36 +00:00
Mark Murray
de29c3cfb5 Allow local tweaks when messing with manpages. 2002-02-06 21:58:30 +00:00
Mark Murray
04e3890675 CURRENT-tyyle updates. This document was (is?) in the dark ages. 2002-02-06 21:42:58 +00:00
Mark Murray
be6b96ea0b Document entropy device bits. 2002-02-06 21:38:20 +00:00
Josef Karthauser
e105123179 Update the physio man page to better reflect reality.
PR:		docs/30603
Reviewed by:	phk
MFC after:	3 days
2002-02-05 21:32:57 +00:00
Brian Feldman
a15fa068ab Add a manpage for VOP_REVOKE(9).
Sponsored by:	DARPA, NAI Labs
2002-02-05 16:08:49 +00:00
Brian Feldman
6dad2ea974 Document that VOP_GETATTR(9) does not actually expect to hold an
exclusive lock on entry.

Sponsored by:	DARPA, NAI Labs
2002-02-05 15:26:28 +00:00
Warner Losh
3bd49456b1 Note new status of __P. Don't use it.
Reviewed by: arch@, mckusick (in principle)
2002-02-01 01:26:24 +00:00
David E. O'Brien
1bb7d81107 There is no need to wrap vendor id bits with '#if 0' if they come pre-wrapped. 2002-02-01 01:17:22 +00:00
Bruce Evans
96cb532cb8 Modified the rules for vendor ids:
- explictly say not to edit infrastructure for vendor ids (not just the
  ids).
- say to enclose vendor ids and their infrastucture in ``#if 0'', and
  partly explain why.
- don't set a bad example by mangling the Berkeley id infrastructure from
  ``static char sccsid[] ...'' to ``__RCSID(...)''.
- show a blank line between the vendor id cruft and the FreeeBSD if cruft
  in the example.
- relaxed the rule about adding "From: " to say that "From: " is actually
  useful if the file has been renamed.
- minor English improvements.

Discussed with:	obrien
2002-01-31 13:26:29 +00:00
Greg Lehey
984d1cc755 Remove references to raw devices.
Submitted by:	mbr
Approved by:	re
2002-01-28 04:26:29 +00:00
Josef Karthauser
a07e9d4af3 Merge from NetBSD.
uhub.c:     revision 1.37
    usb.4:      revision 1.30
    usb.c:      revision 1.38
    usb.h:      revision 1.40
    usb_port.h: revision 1.21
    usb_subr.c: revision 1.65
    usbdi.h:    revision 1.40

Split the attach/detach events up into device, driver and controller
attach and detach events.

The commit message from NetBSD was:
        date: 2000/02/02 07:34:00;  author: augustss;  state: Exp;
        Change the USB event mechanism to include more information
        about devices and drivers.  Partly from FreeBSD.

Also rework usbd to take these new event types into account.
2002-01-28 01:03:19 +00:00
Josef Karthauser
a31999ca51 Sync with NetBSD's version. 2002-01-28 00:48:28 +00:00
John Polstra
586d7c2ef0 Add support for the Netgear GA302T 10/100/1000 adapter. Given that
it's a 32-bit card, it's quite nice for $75.

MFC after:	3 days
2002-01-27 01:00:16 +00:00
Andrew R. Reiter
fa027af9d9 - Spelling fix: "functons" -> "functions". 2002-01-26 21:41:28 +00:00
Crist J. Clark
f44609fe71 Make the rc.conf(5) 'log_in_vain' knob an integer.
Try this out in -CURRENT, MFC, and then consider dropping the
'log_in_vain' knob all together. It really is something for
sysctl.conf(5).

PR:		bin/32953
Reviewed by:	-bugs discussion
MFC after:	1 week
2002-01-26 09:05:13 +00:00
Chad David
5385e8bfab Merged all of the lockmgr functions into a single file (lock.9); as well,
some content and layout changes were made.

lock.9 had existed before but was never added to Makefile, so it was
never installed.  That is why the duplicate files were created in the
first place.

Reviewed by:	ru, alfred
2002-01-26 00:09:41 +00:00
Jens Schweikhardt
8f2087fb45 Fix a typo and fix indenting for struct sockaddr to match other structs.
No content changes.
MFC after:	3 weeks
2002-01-22 21:26:15 +00:00
Ruslan Ermilov
93dee74a5d Revert revision 1.57 -- ache@ axed /var/spool/uucp in BSD.var.dist,v 1.55. 2002-01-22 14:55:25 +00:00
Mike Pritchard
5ecd6127b9 Ispell sweep of share/man/man4/man4.i386. 2002-01-21 12:36:12 +00:00
Mike Pritchard
f87717fa8b Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
Mike Pritchard
8edd27f18f Fix spelling errors. 2002-01-21 10:28:18 +00:00
Scott Long
4496239cd9 Remove very outdated comment from the Bugs section that states that
the driver cannot do U160.

Submitted by:	ladisalv.kostal@fem.uniag.sk
MFC after:	1 day
2002-01-20 16:09:18 +00:00
Robert Watson
080c70c1b1 o Clarify that various sysctl timing values are in milliseconds. 2002-01-19 03:44:42 +00:00
Ruslan Ermilov
757c6a47b6 mdoc(7) police: tidy up.
Reviewed by:	chris
2002-01-18 16:46:43 +00:00
Ruslan Ermilov
7b6edd044b Introduce an interface announcement message for the routing
socket so that routing daemons and other interested parties
know when an interface is attached/detached.

PR:		kern/33747
Obtained from:	NetBSD
MFC after:	2 weeks
2002-01-18 14:33:04 +00:00
Chris Costello
43b95addad Change "From Id:" to the correct "$Id$" string, as there's no danger
of it being expanded.

Sponsored by:	DARPA, NAI Labs
2002-01-17 23:08:43 +00:00
Ruslan Ermilov
c6a51f1c4a mdoc(7) police: removed raw troff from previous delta.
Objected to by:	mpp, jhb
2002-01-17 15:57:43 +00:00
Sheldon Hearn
b815993d75 Mark daily_news_expire_enable as a variable, not a path. 2002-01-17 10:35:48 +00:00
Ruslan Ermilov
757f341107 mdoc(7) police: tidy up markup and spelling.
PR:		docs/33962
2002-01-17 08:42:31 +00:00
Doug Ambrisko
db40c1aef4 Add VLAN for the dc(4) driver (ie long frame). The patch is 2 parts.
One to notify the system that the MTU for VLAN can be 1500 so the vlan
will automatically be configured with a 1500 MTU the other is to ignore
the error case if the received frame is to long.

The frame size notification came from code in the SIS driver, and
the support for long frames derived from the NetBSD Tulip driver.

Tested on:	4 port D-Link adapter DFE-570TX 4 Intel 21143
		Netgear card with 82c169 PNIC 10/100BaseTX

Reviewed by:	ru (manpage), wpaul (not objected to), archie
Approved by:	imp
Obtained from:	NetBSD
2002-01-16 16:33:58 +00:00
Max Khon
8b4d150858 fix MLINKS for timeradd.3 2002-01-14 20:36:34 +00:00
Ruslan Ermilov
491a842962 yp(4) -> yp(8).
PR:		docs/30797
2002-01-14 16:59:03 +00:00
Ruslan Ermilov
0432abee15 Convert to man4/Makefile style. 2002-01-14 16:53:43 +00:00
Ruslan Ermilov
e66767666a mdoc(7) police: tidy up the markup. 2002-01-14 16:07:10 +00:00
Doug White
e5606f14a9 Add manpage for timeradd macros and friends. A companion page for
timespecadd should be added at a future point...

PR:		13079
2002-01-14 00:38:20 +00:00
Bruce A. Mah
4bd2f25749 Fix pathnames.
PR:		33716
Submitted by:	Tim J. Robbins <tim@robbins.dropbear.id.au>
2002-01-12 04:06:34 +00:00
Bruce A. Mah
f1bf956810 newfs -U enables softupdates beginning with FreeBSD 4.5.
PR:		33391
Submitted by:	Ceri <setantae@submonkey.net>
2002-01-11 23:55:58 +00:00
Bruce Evans
df2aa36d5a Fixed missing return type in the prototoype for the hook function. 2002-01-11 13:18:32 +00:00
Ruslan Ermilov
1e55b8c749 mdoc(7) police: tidy up the markup.
Reviewed by:	davidc
2002-01-10 17:47:38 +00:00
Ruslan Ermilov
cc9ca450b6 mdoc(7) police: tidy up the markup. 2002-01-10 16:51:28 +00:00
Ruslan Ermilov
987af41675 mdoc(7) police: expand contractions, remove newly introduced
hard sentence break, revert to a proper markup for config(8)
file directives, fix broken xref.
2002-01-10 16:27:25 +00:00
Ruslan Ermilov
2d41af99ed mdoc(7) police: markup nits. 2002-01-10 16:11:12 +00:00
Ruslan Ermilov
e4c7f9b607 mdoc(7) police: tidy up the markup. 2002-01-10 13:09:00 +00:00
Ruslan Ermilov
ced699e370 mdoc(7) police: get rid of WEOL and HSB introduced in rev 1.6. 2002-01-10 13:02:55 +00:00
Ruslan Ermilov
b6ff0012db mdoc(7) police: finish up the "proc" -> "thread" conversion. 2002-01-10 12:55:36 +00:00
Ruslan Ermilov
3b0536fa2a mdoc(7) police: tidy up the previous delta a bit. 2002-01-10 12:53:51 +00:00
Ruslan Ermilov
8271a1025c mdoc(7) police: tidy up the markup. 2002-01-10 12:32:38 +00:00
Ruslan Ermilov
48ad35449f get_cyclecounter.9 has been repo-copied to get_cyclecount.9. 2002-01-10 12:21:06 +00:00
Ruslan Ermilov
00594efed6 mdoc(7) police: tidy up the markup, fix some minor bugs. 2002-01-10 11:57:10 +00:00
Ruslan Ermilov
52f1d68ff8 mdoc(7) police: tidy up the markup.
This manpage should be repo-copied to get_cyclecount.9.
2002-01-10 10:48:39 +00:00
Ruslan Ermilov
2be6c09fd5 mdoc(7) police:
- make SYNOPSIS look better with some troff magic
- tidy up the markup
2002-01-10 10:36:04 +00:00
Ruslan Ermilov
fdedf9fd70 mdoc(7) police: function typedefs are similar to the
function declarations so use that idea to fix markup.
2002-01-10 09:34:33 +00:00
Ruslan Ermilov
0cf7294092 mdoc(7) police:
- logically sort the SYNOPSIS section
- add missing markup bits
- "brackets" -> "parentheses"
2002-01-10 09:20:07 +00:00
Ruslan Ermilov
5e895bf381 mdoc(7) police: sort xrefs. 2002-01-10 08:16:58 +00:00
Ruslan Ermilov
a9f5209e39 mdoc(7) police: tidy up previous delta. 2002-01-09 16:09:00 +00:00
Ruslan Ermilov
217baf9cbc mdoc(7) police: tidy up markup. 2002-01-09 15:56:21 +00:00
Ruslan Ermilov
63122b7f15 mdoc(7) police: variables are marked with the general purpose .Va macro. 2002-01-09 15:43:07 +00:00
Ruslan Ermilov
fb5293cf53 mdoc(7) police: tidy up previous delta. 2002-01-09 15:32:25 +00:00
Nik Clayton
53d3620b6a Note that kern.sugid_coredump must be 1 to generate a core from processes
that change their credentials.

PR:		docs/21712
Submitted by:	Peter Philipp <pjp@click2net.com>
2002-01-09 13:16:26 +00:00
Nik Clayton
e67796ea42 Fix typo, and add some additional description to the i8254 and TSC.
PR:		docs/20738
Submitted by:	Tan Koan-Sin <freedom@csie.nctu.edu.tw>
2002-01-09 13:10:18 +00:00
Mike Pritchard
7c86a74b2d ispell sweep of share/man/man7/*. 2002-01-09 12:34:01 +00:00
Mike Pritchard
b82af3f5e4 ispell sweep of share/man/man9/*. 2002-01-09 11:43:48 +00:00
Chad David
2e693d1919 Fairly major cleanup of the text.
PR: docs/32241
2002-01-09 08:42:43 +00:00
Dima Dorfman
ea3d958328 Link loop(4) to lo(4). The device's name is 'loop', which is what one
(at least a new one) would expect the manual page to be called (even
if the device is lo#).

PR:		32453
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-01-07 06:48:30 +00:00
Dima Dorfman
4057c9f019 Assorted grammar and other mechanical fixes.
PR:		32941
Submitted by:	<setantae@submonkey.net>
2002-01-07 06:26:37 +00:00
Dima Dorfman
ecfef94723 MFalpha 1.18: Bring this closer to reality by removing mention of wd#
and adding ATA stuff.
2002-01-07 05:45:38 +00:00
Dima Dorfman
10a5b56b7a ATAPI CDROM drives are acd#, not act#. 2002-01-07 05:43:31 +00:00
Chad David
23257a0057 Removed <sys/queue.h> from the list of required include files and
corrected the name of the function (get_cyclecount()).

Requested by: bde
2002-01-06 23:56:12 +00:00
Chris Costello
e4407b54e8 Minor doc nit: Replace contractions with their expanded forms.
Obtained from:	NAI Labs CBOSS Project
Sponsored by:	DARPA, NAI Labs
2002-01-06 20:28:27 +00:00
Kelly Yancey
371c0c842a Document sbuf_trim() and sbuf_vprintf(); add MLINKs.
Clarify that the contents of a caller-supplied buffer are undefined and
should not be examined directly.

Reviewed by:	des
2002-01-06 08:40:42 +00:00
Chris Costello
7f0def37ec As discussed with Bruce Evans and Kirk McKusick:
o Combine ufs.7 and ffs.7 into a single ffs.7 man page.
o Remove all references to `ufs' as a file system.
o Proper (lack of) capitalization for `ffs'.

Obtained from:	TrustedBSD Project
Sposnored by:	DARPA, NAI Labs
2002-01-05 20:18:35 +00:00
John Baldwin
e5b4afac08 Fully catch up to the recent critical section API change. Update the
content of the manpage and document cpu_critical_enter/exit.
2002-01-04 23:56:17 +00:00
Chris Costello
ad25c55e52 Make WHERE TO START' and WHERE TO STOP' subsections within `DESCRIPTION'.
Suggested by:	sheldonh
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-01-01 19:20:02 +00:00
Chris Costello
3092f2e699 o Logically split up sentences, removing hard sentence breaks.
o Use .Sx where a section cross-reference is intended.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-30 20:34:53 +00:00
Joerg Wunsch
4e481b6c28 Document the change from 0.0.0.1 to 0.0.0.* as `any remote address is OK'.
MFC after:	1 month
2001-12-30 16:40:48 +00:00
Chris Costello
07bf51c9b5 Be sure to point out that, by "mount point", one in /etc/fstab
is meant.

Submitted by:	John Hanley <jh_@yahoo.com>
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-30 03:47:06 +00:00
Chris Costello
bd49a87618 Document how to enable ACLs using extattrctl.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-30 03:44:40 +00:00
Sheldon Hearn
1c2941b241 Now that automatic mounting of network filesystems is delayed until
network startup, remove the warning about automatic mounts.
2001-12-29 19:44:10 +00:00
Sheldon Hearn
4a8eeedbb1 Don't require operators to override the list of network filesystem
types (networkfs_types) with a version that includes the original
list.

This increases the scope for user error and also means that systems with
networkfs_types set in /etc/rc.conf will not benefit from changes to the
list in /etc/defaults/rc.conf on upgrade.

Instead, store the default list in /etc/rc itself and allow the operator
to append to that list by specifying her own list in networkfs_types.

Rename networkfs_types to extra_netfs_types accordingly, as the new name
better describes the purpose of the variable.  Default the value to
'NO'.
2001-12-29 19:42:55 +00:00
Julian Elischer
5e7cbd4365 Document some behaviour I'm depending on.
(TAILQ_FOREACH leaves the variable NULL if there were no more to do)
2001-12-28 22:00:27 +00:00
Chris Costello
c1e7a5f1e1 Spelling/typo fix: bood' -> boot' 2001-12-28 20:12:24 +00:00
Chris Costello
1c393056e6 Move UFS and FFS docs to section 7.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-28 17:10:13 +00:00
Bruce A. Mah
93112659d8 Fix typo in example.
PR:		33260
Submitted by:	Dan Peterson <danp@danp.net>
2001-12-28 03:59:19 +00:00
Alfred Perlstein
0df3708ddb Make it explicit that the opening brace of a function body be on a line
by itself.
2001-12-27 20:05:47 +00:00
Joerg Wunsch
41a95e09c1 Document that we now implement VJ header compression. 2001-12-27 16:49:54 +00:00
Sheldon Hearn
d7fb353a43 Re-introduce the fix that delays mounting of network filesystems until
the network is initialized.  This was first implemented in rev 1.268
of src/etc/rc, but was backed out at wollman's request.

The objection was that the right place for the fix is in mount(8).
Having looked at that problem, I find it hard to believe that
the hoops one would have to jump through can be justified by the
desire for purity alone.

Note that there are reported issues surrounding nfsclient kernel
support and mount_nfs(8), which currently make NFS an ugly exception
to the general case.

With this change, systems with non-NFS network filesystems configured
for mounting on startup in /etc/fstab are no longer guaranteed to
fail on startup.
2001-12-27 13:41:27 +00:00
Chris Costello
abd9fb4454 Document UFS and FFS options and features.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-27 03:05:44 +00:00
Chad David
f16b3c0de4 Update function definitions and required include files to reflect
the current state of the system.

Approved by: alfred
2001-12-26 23:14:04 +00:00
Robert Watson
c9686721ef o sysctl.conf cannot be used to set sysctls that are present in
unloaded kernel modules.  Remove the example linux compat sysctls
  because they break if the linux emulator is loaded as a module, rather
  than compiled in.  Add a BUGS entry indicating as much.

Reported by:	jack <jack@germanium.xtalwind.net>
MFC after:	3 days
2001-12-24 20:18:45 +00:00
Ruslan Ermilov
3a289cbae7 Document MODULES_OVERRIDE.
PR:		docs/32560
Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
2001-12-24 19:34:33 +00:00
Chris Costello
1fc841e3ab Add in the new security documentation guidelines document.
Obtained from:	NAI Labs CBOSS Project
Sponsored by:	DARPA, NAI Labs
2001-12-22 22:07:02 +00:00
Robert Watson
7270230e88 o s/softupdates/it/ to reduce over-use of 'softupdates' in a single
paragraph.
2001-12-22 21:02:33 +00:00
Robert Watson
b2e2e310fd o Softupdates is now enabled by default on non-root file systems. Update
language about softupdates to reference this fact, as well as slightly
  moderate the "recommend Softupdates for use on all filesystems" to
  "most filesystems" so as to be consistent with what sysinstall selects.
2001-12-22 21:01:07 +00:00
Robert Watson
60114b8024 o Most users will use sysinstall(8) for partition layout, rather than
disklabel(8), so add a reference to sysinstall(8).
2001-12-22 20:54:45 +00:00
Robert Watson
bcb3e22d61 o Expand on the definition of a sysctl, and add cross-references to
rc.conf and sysctl.conf.

MFC after:	3 days
2001-12-22 14:25:31 +00:00
Robert Watson
07f4b9740e o Refer to hw.ata.wc as a 'loader tunable' rather than a 'kernel variable'
for consistency with the rest of the document.  Since we've already
  described the properties of loader tunables elsewhere, remove the
  duplicate description of it being a boot-time property.

MFC after:	3 days
2001-12-22 14:21:20 +00:00
Robert Watson
d888f91feb o Update tuning(7) to reflect auto-tuning of kern.maxusers in recent
versions of FreeBSD.  This should be merged before 4.5-RELEASE, as this
  functionality is present in 4.5-RELEASE.

MFC after:	3 days
2001-12-22 14:19:20 +00:00
Chris Costello
67ea1c2412 Cross-reference acl.3, vaccess.9, and vaccess_acl_posix1e.9.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-22 03:46:33 +00:00
Chris Costello
12f96c9b6c Add cross-references to vaccess(9) and vaccess_acl_posix1e(9).
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-22 03:20:24 +00:00
Ruslan Ermilov
273d3375f0 mdoc(7) police: removed duplicate xref. 2001-12-21 08:40:52 +00:00
Sheldon Hearn
bb522200e9 Recommend the use of 'noauto' for all remote filesystems other than
NFS, so that rc(8) doesn't choke on them when it tries to mount
them before the network is initialized.
2001-12-20 17:07:04 +00:00
Bill Paul
b1b636d1da Mention that the Xircom and Conexant chips are supported in
the dc(4) man page.
2001-12-20 00:02:13 +00:00
Ruslan Ermilov
8dc4780698 mdoc(7) police: markup, spelling, and grammar fixes.
PR:		docs/32955
2001-12-18 09:40:22 +00:00
Ruslan Ermilov
0dba3dc10c Now that the driver has been MFC'ed, fix the first appearence info. 2001-12-17 11:13:51 +00:00
Joerg Wunsch
9b8f90ce35 Part #1 of the promised floppy driver documentation update. 2001-12-16 22:49:57 +00:00
Andrew R. Reiter
0ec7e3efa9 - typo 'f' should be 't' 2001-12-16 07:46:15 +00:00
Jake Burkholder
c645e17a12 Note that the atomic ops on char and short data types may not be available
on all architectures.  Sparc64 does not implement them.
2001-12-15 21:28:02 +00:00
Brooks Davis
601404ecef Better document gif interface cloning intrastructure.
MFC After:	2 days
2001-12-14 22:55:10 +00:00
Julian Elischer
90d83886e1 Make the man page reflec t the code a bit better.
Specifically, note the condition of the memory on initial
and subsequent allocations is different.
2001-12-14 19:19:31 +00:00
Ruslan Ermilov
13c8bbf31f Fixed prototype.
Reviewed by:	davidc
2001-12-14 09:25:11 +00:00
Ruslan Ermilov
3bdb698642 mdoc(7) police: don't xref to itself. 2001-12-14 09:22:34 +00:00
Ruslan Ermilov
1f620c2ead mdoc(7) police: markup, grammar and spelling nits.
Reviewed by:	davidc
2001-12-14 09:11:13 +00:00
Ruslan Ermilov
f74d799555 mdoc(7) police: kill the undead whitespace at EOL. 2001-12-14 09:09:21 +00:00
Warner Losh
6951ce0d97 Add missing "the". 2001-12-13 01:31:41 +00:00
Warner Losh
2b6f1df3bd Add two clarifying commnets:
1) Note that this file is also by example.
	2) Note that you should not use files from /usr/include in
	   kernel files.
2001-12-13 01:29:34 +00:00
Robert Watson
3b4fff26f3 o Various language and style tweaks.
Submitted by:	ru
2001-12-12 15:58:04 +00:00
Ruslan Ermilov
108c9afc50 mdoc(7) police: remove the debugging stuff I use to prevent
hyphenation (so that the output could be spell-checked).
2001-12-12 15:15:46 +00:00
Sheldon Hearn
3626f83327 Update the default newfs block and fragment sizes from 8192/1024 to
16384/2048.

Following recent discussions on the -arch mailing list, involving dillon
and mckusick, this change parallels the one made over a decade ago when
the default was bumped up from 4096/512.

This should provide significant performance improvements for most
folks, less significant performance losses for a few folks and
wasted space lost to large fragments for many folks.

For discussion, please see the following thread in the -arch archive:

Subject: Using a larger block size on large filesystems

The discussion ceases to be relevant when the issue of partitioning
schemes is raised.
2001-12-11 16:21:40 +00:00
Ruslan Ermilov
e21a315ec5 s/sysctl -w/sysctl/ 2001-12-11 08:29:10 +00:00
Sheldon Hearn
2bd2a050ac Remove the advice relating to the number of cylinders per cylinder
group.  The highest possible value is calculated automatically since
rev 1.41 of src/sbin/newfs.c .
2001-12-10 09:26:30 +00:00
David E. O'Brien
b4ea18e338 Per the CSRG's type.h, 'typedef' has a <tab> after it.
Also add two simpler examples of typedefs to show their formatting.
2001-12-09 18:59:08 +00:00
Andrew R. Reiter
e05f3134d1 - Cross reference the section 9 printf man page since it contains
information with regards to in-kernel format directives that are
  not in printf.3
2001-12-09 08:12:06 +00:00
Ruslan Ermilov
af29f9a287 mdoc(7) police: fix markup, sort xrefs, grammar nit. 2001-12-08 18:15:29 +00:00
Ruslan Ermilov
2e3a6736b2 mdoc(7) police:
- kill empty lines
- kill whitespace at EOL
- kill hard sentence breaks
- fix document date
- fix markup
- sort xrefs
- first appeared in 5.0, not 4.4
2001-12-08 18:07:29 +00:00
Ruslan Ermilov
f16217a013 mdoc(7) police: Style style(9). 2001-12-08 17:48:18 +00:00
Ruslan Ermilov
ec3feddf7a mdoc(7) police: sort xrefs. 2001-12-08 16:43:24 +00:00
Ruslan Ermilov
c5afebadb2 mdoc(7) police: bump document date, fix markup. 2001-12-08 16:40:19 +00:00
Ruslan Ermilov
d6b892be5c mdoc(7) police: change xref to vfs_mountedon(9). 2001-12-08 16:06:02 +00:00
Chad David
9264a4f3f4 buf.9 incorrectly uses 'BUF' as an arg to .Nm where it should be 'buf'.
Because of this apropos notes a BUF(9) page that does not exist.

Reviewed by: alfred
2001-12-08 04:15:37 +00:00
Crist J. Clark
2204f3ce42 Long ago, there was just /etc/daily. Then /etc/security was split out
of /etc/daily. Some time later, /etc/daily became a set of periodic(8)
scripts. Now, this evolution continues, and /etc/security has been
broken into periodic(8) scripts to make local customization easier and
more maintainable.

Reviewed by:	ru
Approved by:	ru
2001-12-07 23:57:39 +00:00
Chad David
f4af1f0785 Add a man page describing the fuctions directly related to network domains.
Reviewed by: alfred
2001-12-07 20:58:07 +00:00
Robert Watson
eb22d616a0 When rfc1323 is mentioned in the context of buffer sizes, not that it
is enabled by default in FreeBSD.
2001-12-07 18:17:37 +00:00
Robert Watson
a695793d88 o Add a mention of kern.openfiles to the description of kern.maxfiles,
and suggest using this value to get a sense of the needs of the system.
2001-12-07 18:02:16 +00:00
Warner Losh
eedd038914 Be exsplicit about the parentheses around return statements. It is
documented by example.  Since most of this file is documented by
example, it is confusing.  Make things a little less confusing.
2001-12-07 11:40:22 +00:00
Ruslan Ermilov
79731c7b1b mdoc(7) police: Add missing markup bits for revisions 1.12 and 1.13. 2001-12-07 10:36:38 +00:00
Ruslan Ermilov
3e5ea28565 mdoc(7) police:
- Avoid using second person.
- Remove whitespace at EOL.
2001-12-07 10:27:43 +00:00
Archie Cobbs
597600ee1b Document the 'enableAlwaysAck' field in the config structure. 2001-12-07 02:50:39 +00:00
Robert Watson
0fbfd3c17d o Fix spelling of allocations as allocates.
Submitted by:	silby
2001-12-06 20:27:44 +00:00
Robert Watson
98181c4975 o Reflect changed default such that keepalives are always enabled by
default now.  Discuss why that's good.  Note that there are still
  some situations where turning it off may be advantageous, including
  situations where there are network outages and it's desirable to
  have TCP sessions last beyond the outage.

Reviewed by:	fenner
Suggested by:	silby
2001-12-06 20:24:38 +00:00
Robert Watson
9aa92d5586 Moderate the recommendation that TCP keepalives always be turned on;
in some environments, this may result in the early termination of
legitimate TCP sessions during temporary network outages.  However,
maintain a strong recommendation that this be used when many network
clients are dialup.

Requested by:	fenner
2001-12-06 19:57:34 +00:00
Robert Watson
25eecbb5a4 o Add an additional .Pp between the send/recvbuffer comments and
the ones on ipfw.  Note to self: why does ipfw/dummynet count as
  a sysctl in tuning(7)?
2001-12-06 19:50:35 +00:00
Robert Watson
fe3e42064f o When describing kern.ipc.nsfbufs, use the slightly less colloquial
"modify" rather than the slightly more colloquial "mess with".
2001-12-06 19:48:48 +00:00
Robert Watson
657c740ed6 The default values for net.inet.tcp.sendspace and net.inet.tcp.recvspace
have been changed to 32k and 64k respectively.
2001-12-06 19:44:31 +00:00