Commit Graph

131172 Commits

Author SHA1 Message Date
dsl 7404af49b7 Improve error reporting for invalid tar archives. 2004-10-17 18:51:29 +00:00
dsl 8317fe1276 Add an option --chroot to tar. Causes it to chroot(".") before doing
an extract.  With -h this will cause existing absolute symlinks to be treated
as relative to the current directory.
Helps sysinst handle existing symlinks in the target system.
Remove 'L' from the usage (got spilt into 'h' and 'H' many moons ago)
Add 'S' to usage, and put into correct place in options list.
2004-10-17 18:49:55 +00:00
bouyer ccd16ca6dc Adjust some debug printfs after b_bcount was changed from long to int.
From Patrick Welche on current-users@
2004-10-17 17:49:04 +00:00
jdolecek f5254bdba7 ldioctl(): fix typo in check for lockmgr() return value introduced
with the wedge support, which caused premature return and left dk_openlock
locked, leading to lockmgr() panic on close; newfs of ld disk now works again
2004-10-17 17:02:48 +00:00
jdolecek fc0a76f17c fix comment - LK_NOWAIT, not LK_WAIT 2004-10-17 16:06:00 +00:00
dsl 300c56aef2 Add a newline to the end of the 'syslog' output when writing it to stderr.
(affects output of dhclient when run from sysinst)
2004-10-17 11:57:14 +00:00
jdolecek 065df3bb84 fix typo (missing &) 2004-10-17 11:24:42 +00:00
jdolecek 84e86b0dce use nointr allocator for shmmap_entry_pool - this is always accessed
from process context
2004-10-17 11:23:16 +00:00
jdolecek 0154132fed constify handlers[] 2004-10-17 11:04:39 +00:00
kent 3b95460806 no need to restore AC97_REG_EXT_AUDIO_CTRL value on resuming
because ac97_codec_if_vtbl::restore_ports() does it.
2004-10-17 09:10:28 +00:00
kent bac58e9eff add support for suspending/resuming.
patch provided by Rhialto in PR#26432
2004-10-17 08:46:39 +00:00
kent 8e74ad23a5 make sure of readiness of an AC'97 codec by writing a value and
reading it.  There is a codec which is not operational just
after power states become ready.

PR#26457
2004-10-17 08:20:15 +00:00
heas b72b95e31d bitmask_snprintf() returns char *, not void. 2004-10-17 04:09:23 +00:00
christos ed27e77c16 Bring back ALLOW_MEMIO change that was lost between 1.38 and 1.39. This
change reportedly makes the driver work on macppc. There must be a better
way of doing this (based on the chip revision?).
2004-10-17 01:10:44 +00:00
christos 6a5f6766d4 Make a commented out print statement compile and avoid wrapped lines.
No functional change.
2004-10-16 22:52:37 +00:00
he cee1a3e3d0 Add mention of the xetc set; configuration files for X which could be
locally modified.
2004-10-16 21:29:03 +00:00
cube b5856520ff Back out previous commit. PIDGET() must be used with a ptid_t, and the
functions that were modified by the previous commit were already passed
the result of PIDGET.  Whatever was intended, it must be re-done
correctly.
2004-10-16 21:17:51 +00:00
bouyer 9281c0205b Add the VScom serial adapters. Bump date. 2004-10-16 18:10:31 +00:00
kent e61cc9d9a5 add code to recognize sync-pipe audio stream.
The code is not enabled yet.
2004-10-16 18:08:50 +00:00
christos 211a72de86 Add WARNS=3 2004-10-16 18:07:16 +00:00
bouyer 4c45710493 Add the dual-serial VScom PCI-200 adapter. Tested by Jukka Salmi. 2004-10-16 18:05:19 +00:00
heinz b804d8c240 Remove trailing argument list from #undef of divrnd macro to enable build
with gcc3 and -Werror.
2004-10-16 14:43:40 +00:00
jdolecek 3b6adcdea1 kill the indirection via struct shm_handle and store pointer to the uvm
object direct to _shm_private; the indirection doesn't serve any
useful purpose and just wastes memory and cpu cycles
2004-10-16 13:34:07 +00:00
dsl 81c71a86b4 Make compile with WARNS=3 2004-10-16 13:20:10 +00:00
dsl 8cc827516a Remove used variable 2004-10-16 12:52:30 +00:00
dsl ca03792fbe Remove _erase_ch() it isn't used any more 2004-10-16 12:49:14 +00:00
dsl 43dde40d82 Put spaces either side of '|' for clarity ('|' looks too much like 'I' or 'l') 2004-10-16 11:11:04 +00:00
dan e541469606 teach rcmd about getport move in rsh directory 2004-10-16 09:58:38 +00:00
christos e4ff3093af remove unused variable 2004-10-16 07:36:08 +00:00
snj 60a7c7cacc Fix two trailing xrefs and kill an unnecessary argument to Nm. 2004-10-16 06:01:52 +00:00
snj 32eca9407f New sentence, new line; use .Dq instead of ``''. 2004-10-16 05:44:59 +00:00
dsainty 9a582784d5 Bump date for -n description 2004-10-16 04:38:53 +00:00
dsainty d01162a3bc Added -n option, which tests for a present core but doesn't write it
to disk or clear it (does 'nothing').

http://mail-index.netbsd.org/tech-userlevel/2004/10/09/0000.html
2004-10-16 04:29:27 +00:00
dsainty 4b46224291 Added -n option, which tests for a present core but doesn't write it
to disk or clear it (does 'nothing').

http://mail-index.netbsd.org/tech-userlevel/2004/10/09/0000.html
2004-10-16 03:48:15 +00:00
christos d9d5b79249 - Fix bug in port parsing code; s_port must be in network byte order.
- Factor out port parsing code and add error checking to it.
- WARNS=3
2004-10-16 02:03:54 +00:00
enami 226c6eda62 Make vmstat -s prints:
- uvmexp.pdre{anon,file,exec}.
- real number of namecache stats.
2004-10-15 21:29:03 +00:00
enami 740cc023cc Rewrite the loop without using useless SIMPLEQ_FOREACH macro. 2004-10-15 21:25:04 +00:00
salo 61948d78ec Correct the omission in 're-enter' verification method addition in EXAMPLES. 2004-10-15 15:25:14 +00:00
enami 461001f32f Fix some typos. 2004-10-15 15:19:02 +00:00
enami b07577d748 Don't break line at the space since it is not a word separator but
an example of space character.
2004-10-15 15:07:54 +00:00
he b0a1d8f11d Increase the pmax ramdisk size with 100KB, so that the contents
fits again.
2004-10-15 15:06:37 +00:00
skrll de13910b03 Revert previous. set_statvfs_info needs the struct proc * arg.
Problem noted by Tom Ivar Helbekkmo on current-users
2004-10-15 09:09:09 +00:00
daniel 84a34aedec Add vm.bufcache, vm.bufmem, vm.bufmem_lowater, m.bufmem_hiwater (PR misc/27247, misc/27233). 2004-10-15 08:47:16 +00:00
thorpej 11103d1865 No longer need <sys/disk.h> 2004-10-15 07:22:02 +00:00
thorpej 99e5d764c1 - Eliminate the need to call disk_init().
- disk_count needs to be protected with disklist_slock, too.
2004-10-15 07:19:01 +00:00
thorpej f8335cf6c2 Don't initialize ttylist or tty_count in tty_init(). 2004-10-15 07:15:39 +00:00
thorpej fae7cbfa65 rf_find_raid_components():
- If DIOCGDINFO failed with ENOTTY, don't print an error message; wedges
  don't support that ioctl.  Clean up the error message.
- If DIOCGDINFO fails, don't proceed to examine an invalid disklabel
  structure.
2004-10-15 06:41:35 +00:00
thorpej 32ca684d72 match_harddisk(): Open RAW_PART, not the booted partition; we're
only performing the ioctl to fetch the disklabel.
2004-10-15 06:18:47 +00:00
thorpej 0b0e09815e Update config_attach_pseudo() example. 2004-10-15 04:51:48 +00:00
thorpej c7dc2875d8 Don't need to use config_makeroom() here. 2004-10-15 04:48:24 +00:00