Commit Graph

68588 Commits

Author SHA1 Message Date
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
Josef Karthauser
b95a83b308 Convert some spaces into tabs that I missed first time around. 2001-12-28 21:55:23 +00:00
Josef Karthauser
7b3360c0e2 Revert most of rev 1.42, to restore KNF style.
Requested by:	bde
2001-12-28 21:47:33 +00:00
Julian Elischer
3efc30142c Fix ipfw fwd so that it acts as the docs say
when forwarding an incoming packet to another machine.

Obtained from:	Vicor Production tree
MFC after: 3 weeks
2001-12-28 21:21:57 +00:00
Bruce Evans
b2035c2b74 Fixed a missing "const". 2001-12-28 20:59:44 +00:00
Josef Karthauser
0e8d1551e0 Add a new flag, -h which when combined with the -l option causes
file sizes to be displayed with unit suffixes; Byte, Kilobyte,
Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
number of digits to three or less.

Submitted by:	nik
2001-12-28 20:50:12 +00:00
Chris Costello
c1e7a5f1e1 Spelling/typo fix: bood' -> boot' 2001-12-28 20:12:24 +00:00
Josef Karthauser
130d15dc43 Make it clearer what changed to a user using the old format of LSCOLORS. 2001-12-28 19:27:30 +00:00
Josef Karthauser
6bd042dfe9 Mop up some warnings. 2001-12-28 19:26:06 +00:00
Josef Karthauser
b0bc91e955 Make the style more consistent throughout the file. 2001-12-28 18:43:32 +00:00
Bruce Evans
25bf7324c8 Fixed an apparent typo ("-" before ":") and an English error (comma
splice) in the "already exists" message.

Fixed some minor style bugs (KNFization to "return (foo)" had rotted
in 2 out of 177 cases).
2001-12-28 18:32:13 +00:00
Josef Karthauser
0d72516e58 Use the default colour instead if a bad colour specification is given. 2001-12-28 18:20:23 +00:00
Josef Karthauser
c1499cf6cf Revamp the colour support to allow for bold characters. Colours
are now defined using the characters a-h and A-H for the bold
variants.  The old way using 0-7 for the colours still works, but
prints a message asking the user to switch.

PR:		bin/27374
2001-12-28 18:14:50 +00:00
Bruce Evans
fb717773e7 Fixed locking bugs in rev.1.346:
(1) Don't attempt aquire the non-recursive lock sio_lock recursively.
    Doing so caused unbounded recursion in some setups.  E.g., if DDB,
    BREAK_TO_DEBUGGER and WITNESS are configured; if the debugger is
    entered using a break, then WITNESS will actually detect the invalid
    recursion and will add to it attempting to print a message about it.

(2) Don't use sio_lock before it has been initialized.  The old check
    (sio_inited != 0) didn't work when sio_inited was boolean because
    sio_inited was set too early, and became just wrong when sio_inited
    was changed to a tri-state variable in rev.1.348.

Reported and fixed in another way by:	fenner (1)
2001-12-28 18:08:10 +00:00
Jake Burkholder
be5fa99a1e Fix typo (unclosed comment). 2001-12-28 17:55:15 +00:00
Bruce A. Mah
febbbc6727 Modify the release-building process so the srelease distribution
doesn't get spammed by RELNOTESng files.

Previously, we built the RELNOTESng files "in place" and then
populated the media (e.g. floppy, cdrom, ftp) areas from the build
directories.  However, the distributions got rolled after the
RELNOTESng build, and thus picked up the rendered RELNOTESng files.

Now, we install the RELNOTESng documents to R/stage/release.doc, then
clean out the original directories in src/release/doc.  We use the
renditions in the staging area to populate the media areas.

PR:		33141
MFC after:	3 days
		(plus re approval)
2001-12-28 17:21:28 +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
Joerg Wunsch
5450aa1239 Implement timestamps so i4b/driver/i4b_isppp.c can derive the idle
time from the PPP packets sent.  This effectively merges rev 1.2 of
the old i4b_ispppsubr.c, with the exception that i eventually ended up
in debugging and fixing it so the idle time is now really
detected. ;-)  (The version in i4b simply doesn't work right since it
still accounts for incoming LCP echo packets which it is supposed to
ignore for idle time considerations...)

Obtained from:	i4b
MFC after:	1 month
2001-12-28 15:59:54 +00:00
Paul Richards
0f958c273a gnu/libexec has gone so remove it from the most targets. 2001-12-28 11:53:18 +00:00
Mike Pritchard
432fda11a4 Add xref to jail(2).
PR:		docs/33177
Submitted by:	Tom Rhodes <darklogik@pittgoth.com>
2001-12-28 09:26:45 +00:00
Mike Pritchard
a2e78261bb Add xref to jail(8)
PR:		docs/33178
Submitted by:	Tom Rhodes <darklogik@pittgoth.com>
2001-12-28 09:24:19 +00:00
Warner Losh
2d22e2bf6c add note that truss works again as of dec 09.
Submitted by: des
Ignored by: imp for over two weeks
2001-12-28 05:35:32 +00:00
Warner Losh
9e0428e2cb Add note about daily security checks moving to periodic(8) 2001-12-28 05:33:34 +00:00
Warner Losh
8b039fff54 Add note to 20010924 entry that tells people about the COMPAT4X option
in /etc/make.conf, since sometimes these libraries are updated.

Submitted by: ru
2001-12-28 05:09:19 +00:00
Jun Kuriyama
e8f2536ed4 Merge the changes in the English version (1.239 --> 1.242). 2001-12-28 05:07:23 +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
Warner Losh
73ad7cef4c Novac DVD/CD Station(Portable DVD/CD-ROM player
Submitted by: moment@pluto.dti.ne.jp
2001-12-28 03:42:41 +00:00
Warner Losh
90005a9c29 Xircom RealPort RE-10
Submitted by: Willem van Engen <wvengen@stack.nl>
2001-12-28 03:39:13 +00:00
Warner Losh
9b5032e906 Add Proxim Harmony card (from Bob)
Also fix a minor disordering of a wi card while I'm here.

Submitted by: bob bobing <this_is_my_act@yahoo.com>
2001-12-28 03:34:05 +00:00
Crist J. Clark
726acc787d Fix some leftover stray characters from expr(1)-to-$(()) sweeps.
PR:		bin/33158
Submitted by:	Adrian Filipi-Martin <adrian@ubergeeks.com>
MFC after:	1 day
2001-12-27 22:41:35 +00:00
Joerg Wunsch
0a17ab83f9 Clean up half a dozen of header files that are no longer needed now that
we use struct sppp_parms instead of struct sppp for userland programs.

MFC after:	1 month
2001-12-27 22:40:01 +00:00
Joerg Wunsch
39cb697c8c Break out the relevant fields from struct sppp into a struct
sppp_parms that are needed for the SPPPIO[GS]DEFS ioctl commands.
This allows it to keep struct sppp inside #ifdef _KERNEL (where it
belongs), and prevents userland programs that wish to include
<net/if_sppp.h> from including the earth, the hell, and the universe
before the are able to resolve all the kernel-internal stuff that's in
struct sppp.

Discussed with:	hm
MFC after:	1 month
2001-12-27 22:38:50 +00:00
Bruce A. Mah
464af731bc At least I'm consistent. Back out the last accidental rev to this file on
HEAD too.

Noticed by:		ben
Another pointy hat to:	bmah
2001-12-27 22:32:33 +00:00
Bruce A. Mah
31ce46afbf New release note: network filesystems can now be listed in
/etc/fstab.

Submitted by:	sheldonh
2001-12-27 21:55:02 +00:00
Bruce A. Mah
5de25ed9b8 New release notes: pseudofs-ize procfs(5), libstand can write to UFS
filesystems, sysinstall(8) auto-partition updates.
2001-12-27 21:37:38 +00:00
Joerg Wunsch
e2aac1dd31 Userland part of making the LCP restart timer configurable.
Obtained from:	i4b (with changes)
2001-12-27 21:20:33 +00:00
Joerg Wunsch
ea77971c6c Make the LCP restart timer configurable.
This (effectively) merges rev 1.36 of i4b's old if_spppsubr.c, albeit
in a slightly different manner (we export the timer in millisecond
values as exposed to tick values from/to userland).

Obtained from:	i4b
MFC after:	1 month
2001-12-27 21:20:05 +00:00
Bruce A. Mah
fb8f795e9b New release notes found while trying to catch-up RELENG_4 to reality:
whois(1) -c, pkg_delete -r, rc.conf(5) support for IPFilter state tables.
2001-12-27 21:18:36 +00:00
Alfred Perlstein
58e5d6695d brace by itself after function declaration.
Mandated by: style(9)
Pointed out by: rwatson
2001-12-27 20:16:21 +00:00
Alfred Perlstein
72e7b28173 put function return types on a line by themselves as per style(9) 2001-12-27 20:12:03 +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
Bruce A. Mah
c8c16add9a Add nsmb.conf to list of files that sysinstall preserves on an upgrade. 2001-12-27 19:59:57 +00:00
Matthew Dillon
885d36ce36 nfs_nget() does no locking whatsoever when looking up a vnode. If the
vget() sleeps we have to retry the operation to avoid racing against
a deletion.

MFC maybe: submitted to re's
2001-12-27 19:40:34 +00:00
Joerg Wunsch
979c74a0af Implement knobs to enable/disable VJ header compression.
Submitted by:	i4b (modified)
MFC after:	1 month
2001-12-27 16:52:23 +00:00
Joerg Wunsch
41a95e09c1 Document that we now implement VJ header compression. 2001-12-27 16:49:54 +00:00
Joerg Wunsch
1a5d6f5e0b Implement VJ header compression for sppp.
This is the logical merge of rev 1.32 of i4b's old if_spppsubr.c (which
was based on PR misc/11767), plus (i4b) rev 1.6 of i4b's if_ispppsubr.c,
albeit with numerous stylistic and cosmetic changes.

PR:		misc/11767
Submitted by:	i4b, Joachim Kuebart
MFC after:	1 month
2001-12-27 16:49:31 +00:00
Joerg Wunsch
9e62ce2036 Remove nonstandard floppy device nodes. Only keep the base device node,
plus the symbolic links to the fake BSD partitions.

Also remove the rfd* devices, they are neither necessary nor documented
anymore.
2001-12-27 15:03:25 +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
Peter Pentchev
ca33a43ede Fix a typo. While 'iff' might make sense in a mathematics-related text,
'if and only iff' does not.

PR:		33242
Submitted by:	Eric Yu <ericyu@mail2000.com.tw>
2001-12-27 13:33:10 +00:00
Søren Schmidt
6361070e82 Fix the msinfo command, as mentioned in several PR's. 2001-12-27 10:10:56 +00:00