Peter Wemm
20f02ef5e9
Remove the V_SAVEMETA flag, nothing uses it any more now that msdosfs and
...
ext2fs call vtruncbuf() directly. This simplifies and cleans up
vinvalbuf() a little.
1998-10-29 09:51:28 +00:00
Peter Wemm
91ecc00e71
error return assignment was less than ideal. Fix the part that caused
...
warnings to be the same as the ffs code. Previously, any error from
the UFS_UPDATE() call was lost (I think).
1998-10-29 09:44:12 +00:00
Bruce Evans
3a389eff91
`vector xxxintr' should cause a syntax error.
1998-10-29 09:42:05 +00:00
Bruce Evans
87ed597427
Fixed missing link and disordering in previous commit.
1998-10-29 09:35:10 +00:00
Peter Wemm
f6020599aa
Use vtruncbuf() to clean out cached blocks on a file shorten rather than
...
the more expensive vinvalbuf(), based on the FFS version of the same
routine. I don't have any ext2fs filesystems to test this on.
1998-10-29 09:30:52 +00:00
Peter Wemm
44fdad9976
Use vtruncbuf() rather than vinvalbuf() when shortening files.
1998-10-29 09:29:17 +00:00
John Polstra
d0a7acafba
Make the definition of __printf0like() vary according to the value
...
of __FreeBSD_cc_version, so that its use is safe with older compilers
and with non-FreeBSD compilers.
1998-10-29 04:41:24 +00:00
John Polstra
98bf848b69
Add a new predefined preprocessor symbol "__FreeBSD_cc_version",
...
with a numeric value that describes the feature level of the
compiler. This can be used to check for the presence/absence of
FreeBSD-specific compiler features. The value is a decimal number
whose digits have the form VRRRRFF, where:
V = Compiler vendor. 0 (elided) means gcc.
RRRR = Vendor's version number, e.g., 2721 for the current
gcc version (2.7.2.1).
FF = FreeBSD-specific revision level. 00 means the stock
compiler from the vendor.
The value of "__FreeBSD_cc_version" is hard-coded in
"src/contrib/gcc/config/i386/freebsd.h" and must be incremented
when new FreeBSD-specific compiler features are added. I considered
simply picking up the value of FreeBSD_version from <osreldate.h>.
But that would break cross compiles of gcc.
PR: Part of the fix for gnu/8452
Suggested by: bde
1998-10-29 04:27:06 +00:00
Brian Somers
004c6ac7fd
Remove some redundant (#if 0'd) code.
1998-10-29 02:12:54 +00:00
Garrett Wollman
46365a874a
A small fragment of new ISA framework: manifest constants for the resources
...
implemented by the i386 root nexus.
1998-10-29 01:56:23 +00:00
Garrett Wollman
a64d49d14f
A Perl5 version of makedevops.sh. Fixes a bug in the sh/awk version
...
which really annoyed me at the time but I don't think bites me any
more.
1998-10-29 01:52:59 +00:00
Garrett Wollman
af2a5c769a
The new resource manager, hopefully in a reasonably stable form.
1998-10-29 01:48:36 +00:00
Jordan K. Hubbard
400d793dd7
Unlink old contents of package when extracting new.
...
Submitted by: pst
1998-10-28 22:44:24 +00:00
Robert V. Baron
6f72efa21b
Change the way unmounting happens to guarantee that the
...
client programs are allowed to finish up (coda_call is
forced to complete) and release their locks. Thus there
is a reasonable chance that the vflush implicit in the
unmount will not get hung on held locks.
1998-10-28 20:31:13 +00:00
Robert V. Baron
d2a0549842
Update
1998-10-28 19:39:12 +00:00
Robert V. Baron
e8e04c2b37
Venus must be passed O_CREAT flag on VOP_OPEN iff this is
...
a creat so that we can will allow a mode 444 file to be
written into. Sync with the latest coda.h and deal with
collateral damage.
1998-10-28 19:33:50 +00:00
Mike Smith
8879e57b3e
Simplify the "is a character ready" test, so that we don't return a false
...
negative for keypresses with zero ascii values. This is in line with the
comconsole test, rather than being more ambitious.
Submitted by: rnordier
1998-10-28 19:24:15 +00:00
Andrzej Bialecki
b8e9aae97b
Corect info about help files being stored in ar archive.
...
Submitted by: Eric P. Scott <eps@sirius.com>
1998-10-28 16:42:51 +00:00
Andrzej Bialecki
af2a8cd31a
Add missing psm0 dev entry.
...
Submitted by: Eric P. Scott <eps@sirius.com>
1998-10-28 16:26:29 +00:00
Andrzej Bialecki
0632a19397
Added TODO list. Automate changing of the "Last updated" field.
1998-10-28 16:16:31 +00:00
David Greenman
c8d14c765f
Fixed wrong comments in and about vm_page_deactivate().
1998-10-28 13:41:43 +00:00
David Greenman
730075613a
Added a second argument, "activate" to the vm_page_unwire() call so that
...
the caller can select either inactive or active queue to put the page on.
1998-10-28 13:37:02 +00:00
KATO Takenori
5ff07d2ee7
Sync with sys/i386/conf/Makefile.i386 revision 1.127.
1998-10-28 10:48:37 +00:00
Jordan K. Hubbard
2dcc2f0693
Clarify a rather ambiguous debugging message.
1998-10-28 10:37:54 +00:00
Doug Rabson
709f2df6c3
Add BUS_DEBUG option in opt_bus.h
1998-10-28 08:37:10 +00:00
John Polstra
b5e7d1133b
Back out previous work-around for "vmstat -i" failing on ELF
...
kernels. A better fix is now committed to "src/lib/libc/gen/nlist.c"
and "src/usr.sbin/kvm_mkdb/nlist.c".
1998-10-28 06:41:24 +00:00
John Polstra
a150a878d5
Handle ELF symbols better. This fixes "vmstat -i" for the case
...
where "/var/db/kvm_kernel.db" exists.
Note, kvm_mkdb tries to be clever, and skips rebuilding the database
if it thinks it's already up to date. To see the effects of this
fix, you may need to manually delete "/var/db/kvm_kernel.db" and
then run "kvm_mkdb".
1998-10-28 06:39:41 +00:00
John Polstra
76a2643efb
Handle ELF symbols better. This fixes "vmstat -i" for the case
...
where "/var/db/kvm_kernel.db" doesn't exist.
1998-10-28 06:37:49 +00:00
Jordan K. Hubbard
b39d7dea7b
Check for C:\FREEBSD also, for backwards compatibility
1998-10-28 02:18:08 +00:00
Nicolas Souchu
fa7bfeb7f9
microseq.9: general purpose parallel microcode for ppbus(4)
...
ppbconf.9: general info about ppbus(4) structures
1998-10-28 00:55:42 +00:00
Nicolas Souchu
1284f2b273
ppc.4 moved from man4 to man4.i386: parallel port chipset driver manpage
...
pcf.4 added: Philips I2C/isa interface manpage
1998-10-28 00:51:40 +00:00
Nicolas Souchu
71023a74d1
Finally they arrive! ppbus (Parallel Port Bus framework) manpages.
1998-10-28 00:44:22 +00:00
Nicolas Souchu
eb8752d51d
More I2C framework docs. See iicbus(4) for more info.
1998-10-28 00:42:34 +00:00
Nicolas Souchu
6c5ba3a5a5
I2C framework manpages. See iicbus(4) for more info.
1998-10-28 00:40:53 +00:00
Brian Somers
ca618bcfc9
Untimeout the chat expect timer as soon as we get a
...
match - otherwise, with a delayed (\\d) ``send'', the
timeout may happen during the send and cause a failure.
Problem reported by: David L. Vondrasek <dallas.tx@airmail.net>
1998-10-27 22:53:25 +00:00
Brian Somers
0f781a7252
Add ``set proctitle'' for changing argv[0]. All substitutions
...
are done in the same way as command execution.
For example, ``set proctitle USER INTERFACE PROCESSID'' would
be useful in a -direct profile for identifying who's connected.
1998-10-27 22:53:22 +00:00
Brian Somers
a237dcba17
Add ``PROCESSID'' as a constant expanded when running
...
commands.
1998-10-27 22:53:19 +00:00
Brian Somers
0460185ddf
Stress that `none'' must be specified on the
set callback'
...
line if callback is to be optional.
Requested by: Andrzej Tobola <san@koziolek.lublin.top.pl>
1998-10-27 22:53:18 +00:00
Mike Smith
f5ce88ded8
Fixes for handling 'wfd' (and any other disk with a non-2-character name)
...
Submitted by: Some from Satoh Junichi (junichi@astec.co.jp )
1998-10-27 21:14:03 +00:00
Robert Nordier
9244e1a412
Avoid interruptions while talking to keyboard controller.
1998-10-27 20:19:24 +00:00
Robert Nordier
c589107988
biosboot compatibility fix: change behavior of backspace in getstr().
...
Noticed by: abial
Optimize away a few bytes to make space for the above.
1998-10-27 20:16:36 +00:00
David Greenman
e4b7635de2
Added needed splvm() protection around object page traversal in
...
vm_object_terminate().
1998-10-27 13:22:51 +00:00
Bruce Evans
b5ee16407f
Oops, the redundant tests for major numbers weren't redundant here.
...
They checked for the magic major number for the "device" behind mfs
mount points. Use a more obvious check for this device.
Debugged by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-10-27 11:47:08 +00:00
Doug Rabson
45a576b57a
Lots of debugging code and some bugfixes.
...
Submitted by: Nick Hibma <nick.hibma@jrc.it>
1998-10-27 09:21:43 +00:00
Doug Rabson
e3f0338ead
Some optimisations to the fragment reassembly code.
...
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
1998-10-27 09:19:03 +00:00
Doug Rabson
afb3fdba7c
Fix a bug in the new fragment reassembly code which was tickled by recieving
...
a fragment which wholly overlapped one or more existing fragments.
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
1998-10-27 09:11:41 +00:00
Dima Ruban
97b465b142
64bit fixes.
...
(Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem
somewhere is the physio() area)
Submitted by: myself && Matt Dillon.
1998-10-27 04:01:19 +00:00
Bill Fenner
551677729e
('): and (
'); -> (:') and (
;')
1998-10-26 19:36:38 +00:00
Brian Somers
3535dfb0be
Shuffle the iface-alias option so that's in alphabetical
...
order like the rest of the options.
1998-10-26 19:07:42 +00:00
Brian Somers
3afe5ccb75
Add ``enable proxyall'' support. This adds proxy ARP entries
...
for every machine on every class C or smaller subnet that we
route to.
Add ``set {send,recv}pipe'' for controlling our socket buffer
sizes.
Mention the IP number with the problem in a few error messages.
All submitted by: Craig Leres <leres@ee.lbl.gov>
Modified slightly by: me
1998-10-26 19:07:39 +00:00