sos
df249c5b65
On drives that returns 00 as 100% done, lower the criteria
...
for wraparound, 99 was too much for fast drives since they
do not give 99 as the last value, but instead something
in the 90's range.
2002-12-18 07:43:42 +00:00
phk
9b48051f24
Untwist a twisty bit of logic which gcc for some reason cannot see
...
through on ia64.
2002-12-18 07:25:33 +00:00
mckusick
d554a411cc
Delay an optional amount of time after booting before starting a
...
background fsck. The delay defaults to sixty seconds to allow
large applications such as the X server to start before disk I/O
bandwidth is monopolized by fsck.
Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
Sponsored by: DARPA & NAI Labs.
2002-12-18 07:21:31 +00:00
mckusick
b9258ea622
Keep comments consistent with the code. Minor optimization.
...
Sponsored by: DARPA & NAI Labs.
2002-12-18 07:19:41 +00:00
imp
c8bfbac0f7
I didn't intend to delete this rm from the Makefile. It snuck in at
...
the last second before the commit.
# likely we can remove this hack now that gcc generates better aligned code
# in the align to word case.
Noticed by: bde
2002-12-18 07:13:53 +00:00
imp
bdb42b11d0
Latest snapshot of devd. This one adds re-matching and string
...
expansion.
2002-12-18 07:08:01 +00:00
tjr
09fe083601
Document what happens when the format string contains insufficient
...
conversion specifications to completely specify the resulting struct tm.
PR: 46331
Submitted by: Christian S.J. Peron
MFC after: 2 weeks
2002-12-18 05:00:54 +00:00
alc
5d2cf6c470
- Hold the page queues lock when performing vm_page_busy().
...
- Replace vm_page_sleep_busy() with proper page queues locking
and vm_page_sleep_if_busy().
2002-12-18 04:39:15 +00:00
alc
17e7291ba9
Hold the page queues lock when performing vm_page_flag_set().
2002-12-18 04:02:02 +00:00
mckusick
c672e33652
Cosmetic cleanup of unsigned buglets.
...
Submitted by: Bruce Evans <bde@zeta.org.au>
Sponsored by: DARPA & NAI Labs.
2002-12-18 00:53:45 +00:00
grog
75a497dd18
Back out revision 1.38. disklabel now understands vinum volumes again.
2002-12-18 00:18:54 +00:00
eric
cb8cf26896
Add Web Objects.
...
Obtained from: IANA
Sponsored by: Apple
2002-12-17 23:59:10 +00:00
imp
ef98dda076
Reduce diffs with Peter's expanded diffs:
...
1) Put back the keyboard printing printf, at the cost of 58 bytes.
2) Minor tweak to getstr at no apparent cost.
2002-12-17 22:00:06 +00:00
phk
6a6292e9f6
Add a check for negative offset locations and return EINVAL for them.
2002-12-17 21:31:58 +00:00
green
1a12b8fd81
Back out the previous commit, since there could be dire consequences if
...
/etc/rc were accidentally executed (as requested by other committeers).
2002-12-17 21:23:36 +00:00
jhb
1824b257a8
Remove request for i386 boot[012] review. I didn't have time recently to
...
work on the UFS2 stuff and people were committing patches w/o sending them
my way anyways, so it seems rather pointless for me to be in here. :)
2002-12-17 21:14:45 +00:00
imp
3ed69cb208
Make both UFS1 and UFS2 fit on the same boot blocks. These are a
...
subset of Peter's patchs that are believed to be safe.
Makefile tweaks:
o -fomit-frame-pointer
o Change default to building both UFS1 and UFS2 bootblocks.
Lots of boot2 tweaks:
o lookup is only ever called with kname, so use it directly.
o inline memsize
o getstr are only ever called with cmd, so hardware that.
o tweaks to the parsing code to test after the conversion rather than
before since we tested after anyways.
o eliminate support for %x in printf.
o eliminate a few bytes in printfs.
o Tweak the boot banner.
o eliminate support for wd and " " devices (I might add wd back to
keep bde happy).
o eliminate support for a few arguments.
This takes us from -162 bytes free to 67 bytes free.
I've tested this only on a few systems, so be careful when updating to
this change.
Submitted by: peter, imp, ian
2002-12-17 21:10:34 +00:00
green
cd852507e3
Make /etc/rc and /etc/rc.shutdown executable, and execute them directly
...
instead of via /bin/sh. They already have the proper #! lines, and
there is no new failure case (if execution fails, it still attempts to
execute indirectly via /bin/sh). This is necessary for SEBSD to function
properly.
2002-12-17 20:45:07 +00:00
green
089493d568
/home/green/tmp/cvsSFosXg
2002-12-17 20:39:38 +00:00
trhodes
01bdfab305
The code uses trapsasync, however the manual page uses asynctraps. Fix the
...
manual page to reflect the code.
PR: 45820
Submitted by: Marco Molteni <molter@tin.it>
Discussed with: tjr
2002-12-17 20:27:48 +00:00
phk
22091b591c
Remove unused lockcnt variable.
...
Approved by: mckusick
2002-12-17 20:23:51 +00:00
obrien
33e0776b9a
Split files into 1.44MB chunks rather than a tiny, high-ftp overhead size.
...
Approved by: rwatson
2002-12-17 20:19:37 +00:00
obrien
ed771339ac
Strip out any .comment ELF sections from crunchgen'ed binaries.
2002-12-17 20:18:13 +00:00
alc
056e85b589
Hold the page queues lock when performing vm_page_flag_set().
2002-12-17 19:55:28 +00:00
eric
0ea98abfee
Add IPP (Internet Printing Protocol) and remove blank lines.
...
Obtained from: IANA
Sponsored by: Apple
2002-12-17 19:42:07 +00:00
phk
e93f5b276e
Straighten out a compound if() to improve readability marginally.
2002-12-17 19:33:44 +00:00
phk
f7ba64a835
Indent properly.
2002-12-17 19:31:26 +00:00
phk
c3c8131c85
Remove unused variable cn_devfsdev.
2002-12-17 19:30:50 +00:00
phk
068f63785a
Remove unused and incorrectly maintained variable "in_interfaces"
2002-12-17 19:30:04 +00:00
phk
1524523a7e
A couple of stylistic improvements.
2002-12-17 19:16:10 +00:00
phk
f74c29e943
Don't cast a pointer to (intptr_t) and then on to (int) when we cannot
...
be sure that (int) is large enough. Instead cast only to (intptr_t) and
cast the switch/case values to (intptr_t) as well.
2002-12-17 19:13:03 +00:00
fanf
d214f0ddda
Document trap EXIT
and trap SIGNAME
.
2002-12-17 17:31:44 +00:00
sos
1e1655188f
Try to fix the problem with burncd blank not seeing the end of
...
the blank operation.
2002-12-17 16:27:45 +00:00
sos
e59ab17d79
This should be the way PC98 ATA disks are seen geometry wise.
...
Should go into 5_0_RELEASE as well.
2002-12-17 16:26:22 +00:00
phk
13d2ec51f8
Don't mangle geometry for pc98, this will happen in the ata driver.
2002-12-17 15:50:51 +00:00
phk
a5362fa590
Unspam some experimental changes which should not have been committed.
2002-12-17 13:37:08 +00:00
phk
7d1125ae47
Remember to hold topology lock when we change things.
...
Spotted by: kuriyama
2002-12-17 09:44:10 +00:00
phk
3796424064
Constify the dumpconf() function.
2002-12-17 07:22:48 +00:00
njl
53da64b40e
Add PERIPH and XPT debug options to camcontrol. This makes all CAM debug
...
options tunable from userland.
Approved by: ken
MFC after: 3 days
2002-12-17 06:05:21 +00:00
njl
b86ad68695
Back out 1.19 to rethink approach
...
Requested by: julian@
2002-12-17 05:55:36 +00:00
seanc
29840ea08f
Check the return status of chdir() when using the -C option.
...
Reviewed by: bright && jmallet
MFC after: 1 day
2002-12-17 04:26:22 +00:00
marcel
1171743e00
Check that the dump device is large enough. Otherwise we could
...
end up with a dump offset that's smaller than the start of the
dump device and either clobber data in preceding partitions or
try to write beyond the end of the medium (unsigned wrap).
Implement legacy behaviour to never write to the first 64KB as
that is where metadata (ie disklabels) may reside.
2002-12-17 02:51:56 +00:00
njl
4683fbaf65
Automatically issue a "continue" along with the "detach" command. This
...
fixes the problem of cleanly restarting a target after entering gdb mode.
Reviewed by: archie@
2002-12-17 01:32:11 +00:00
dillon
aa5bf41b6e
Fix syntax in last commit.
2002-12-17 00:24:48 +00:00
mux
dcc2faeacc
Convert the xl(4) driver to the busdma API. This should make
...
it possible to use this driver under ia64, sparc64 (though
there may be endianness issues with this one) and other archs.
Tested on: i386, alpha (gallatin)
2002-12-17 00:08:49 +00:00
julian
59e53c94c5
Reformat last change
...
Requested by: nate@
2002-12-16 23:25:12 +00:00
phk
480787540d
Get rid of g_slice_addslice() and use g_slice_config() instead.
...
Tested with: i386 + src/tools/regression/geom
2002-12-16 23:08:48 +00:00
julian
57d172ff4d
Don't dump core into a partition that is too small for it.
...
If we do, we usually wrote backwareds into the proceeding partititon
which is usually the root partition.
2002-12-16 23:04:54 +00:00
phk
4ca99949f8
Goto WARNS 5 with assorted changes.
2002-12-16 22:35:56 +00:00
phk
be92631ca3
Constification and some s/int/u_int/ changes.
2002-12-16 22:33:27 +00:00