uwe
620a6f25ea
Register with pmf(9), tell it we don't need anything.
2009-04-05 02:18:59 +00:00
tsutsui
6084f8a077
Remove unused check_partitions().
...
The similar check is done in check_one_root() in label.c.
2009-04-05 02:18:41 +00:00
uwe
b22b1f73c6
Register with pmf(9), tell it we don't need anything.
2009-04-05 02:17:18 +00:00
uwe
fd239c627a
Register with pmf(9). Thus we register with both dopowerhooks(9) and
...
pmf(9), but they are mutually exclusive (apm(4) vs apmdev(4)).
Express pmf(9) hooks in terms of dopowerhooks(9) hook - the reverse
would be more natural, but pmf hook signature is hidden behind
PMF_FN_ARGS/PMF_FN_CALL, so just go the least intrusive way for now.
2009-04-05 02:14:41 +00:00
uwe
2ec6410a85
Register with pmf(9), tell it we don't need anything.
2009-04-05 02:04:40 +00:00
uwe
12a9718711
Split device_t and softc.
2009-04-05 01:48:47 +00:00
tsutsui
0f22466110
Use #define<tab> consistently.
2009-04-05 00:57:56 +00:00
uwe
28794590b6
Register null hooks with pmf(9) for now, which is no worse than before
...
and allows us to test other things.
2009-04-05 00:56:20 +00:00
tsutsui
47fb91c8ba
Remove __HAVE_UFS2_BOOT since it belongs to sysinst for now.
...
"Feel free to change it" by ad@.
2009-04-05 00:54:21 +00:00
tsutsui
df90698b99
- introduce machine dependent DEFAULT_UFS2 and HAVE_UFS2_BOOT flags in md.h
...
- use those flags to change default ffs type, rather than adding
__HAVE_UFS2_BOOT in <machine/types.h>
Okay'ed by martin@, briefly tested on i386.
2009-04-05 00:50:51 +00:00
uwe
fe0f5148ae
Register with pmf(9), tell it we don't need anything.
...
btnmgr(4) is just a hub for other devices to plug into with
config_hook(9), there is no real hardware to manage.
2009-04-05 00:34:42 +00:00
uwe
375ebd8c0b
Register null hooks with pmf(9) for now, which is no worse than before
...
and allows us to test other things.
2009-04-05 00:22:27 +00:00
uwe
c68d2565cb
Register with pmf(9), tell it we don't need anything.
2009-04-05 00:17:56 +00:00
uwe
584c995418
Register with pmf(9), tell it we don't need anything.
2009-04-05 00:04:51 +00:00
uwe
e7c8b2e888
Register with pmf(9), tell it we don't need anything.
2009-04-04 23:45:24 +00:00
joerg
7bacb5af4b
Reimport libfetch-2.23 from pkgsrc, at least one change was lost.
2009-04-04 23:26:03 +00:00
tsutsui
354a9e7cdc
Also put bootxx_ffsv2 into installation ramdisk.
...
XXX: is it worth to put bootxx_lfs nowadays?
2009-04-04 23:24:07 +00:00
joerg
ace0f41f53
Restore SpeedStep settings on shutdown. Some BIOSes don't like it, if
...
SpeedStep is enabled and powerdown fails otherwise. Fixes PR kern/40487.
2009-04-04 23:13:18 +00:00
ad
ddf65d893c
Update the big comment block.
2009-04-04 22:34:03 +00:00
joerg
9d6b98ae28
If drvctl -l is used without argument, print the root device nodes.
2009-04-04 22:05:47 +00:00
apb
c5c8c1dcb2
Tags are internally stored with leading and trailing commas, for ease
...
of using strstr(3) to check them against inclusion or exclusion lists.
Don't output the leading or trailing commas.
2009-04-04 21:49:49 +00:00
joerg
3cb902383f
Allow querying for root devices in the tree by specifying an empty
...
device name. Ensure that l_devname is NUL-terminated and fail otherwise.
OK cube@
2009-04-04 21:49:05 +00:00
christos
9587268219
fix pasto: don't print the critcap when the warncap was asked. Also off by
...
one in length. From Anon-Ymous.
XXX: Should pull up to 5.0
2009-04-04 18:43:01 +00:00
wiz
88ada6d2b7
Convert to mdoc. Bump date for previous.
2009-04-04 17:29:59 +00:00
plunky
bb505f700b
Because the IFF_NOARP flag is a negative option it needs to be negated
...
when being applied from the "arp" option which itself is positive.
problem demonstrated by
# ifconfig tap3 create
# ifconfig tap3
tap3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:7f:44:03
media: Ethernet autoselect
# ifconfig tap3 arp
# ifconfig tap3
tap3: flags=8882<BROADCAST,NOARP,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:7f:44:03
media: Ethernet autoselect
# ifconfig tap3 -arp
# ifconfig tap3
tap3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:7f:44:03
media: Ethernet autoselect
# ifconfig tap3 destroy
#
2009-04-04 17:10:19 +00:00
perry
4cfab35c9c
New feature: "?" for time specifications, means a single time selected at
...
random from within the range at file read time. Very useful if you
want to avoid having a fleet of machines melt a server by all trying to
contact it at a precise time every morning. See docs for details.
Reviewed by: christos, apb, vixie, others.
XXX apb suggests, quite reasonably, that ?10-16/2 should mean
something like 10,12,14,16 or 11,13,15. I'm too lazy to do it right
now, but it should be done.
XXX vixie suggests, quite reasonably, that if you're using "?" one
should delay randomly by 0-59 seconds. In the modern NTP world, you
could imagine that with a million well synchronized machines the
second just at the minute would be hit quite hard. I'm too lazy to do
it right now, but it should be done.
XXX cron needs to be updated to Vixie's cron 4.1 code.
2009-04-04 16:05:10 +00:00
bouyer
0c046062f0
Fix another typo
2009-04-04 15:53:49 +00:00
bouyer
11abca258d
Fix a comment, and make it build.
2009-04-04 15:47:28 +00:00
bouyer
7f8c56170f
Fixes from Masao Uebayashi
2009-04-04 15:31:47 +00:00
christos
3b4cda0de7
PR/41138: Henning Petersen: Redundant declarations in rpc_internal.h
...
While here remove __P, KNF.
2009-04-04 15:31:08 +00:00
apb
1ce2d17dfd
Mention html versions of recently-added bit* man pages
2009-04-04 15:27:48 +00:00
wiz
0256035951
Cannot remember why I thought cron-4.3 was out -- downgrade to 4.1.
...
Noted by perry.
2009-04-04 12:30:43 +00:00
ad
23710c7d9a
Back out the / change. This is an incorrigible. Any change to that would
...
make it more user friendly is likely to (a) trigger complaints from elitist
morons (b) overflow RAM disks everywhere.
2009-04-04 11:34:09 +00:00
ad
3e31e5dff7
- Improve on previous.
...
- If no /usr and the disk still has free space, give it to /
2009-04-04 11:24:24 +00:00
ad
13934cdea8
Calculate swap size dynamically if DEFSWAPSIZE == -1. Default to RAM size.
2009-04-04 11:04:28 +00:00
ad
7775c99317
Assume that extended int13 support is available if we have no diskinfo.
2009-04-04 11:03:24 +00:00
ad
3aac575430
- Default to UFS2 if the platform can boot from it.
...
- Default logging on.
2009-04-04 10:38:00 +00:00
ad
95e4ccac55
+__HAVE_UFS2_BOOT
2009-04-04 10:36:08 +00:00
ad
2f5f36b538
Turn up the volume on the warning message a bit.
2009-04-04 10:33:59 +00:00
ad
4c75d20cd4
Turn up the volume on the warning message a bit and note that unionfs can
...
corrupt the underlying file system. This is an old problem but is now
much easier to trigger because VFS has gone fully multithreaded.
2009-04-04 10:32:49 +00:00
ad
bf1b2693f2
5.99.10 struct fileops changed for f_drain. I have added a couple of spares.
2009-04-04 10:13:30 +00:00
ad
c6367674d6
Add fileops::fo_drain(), to be called from fd_close() when there is more
...
than one active reference to a file descriptor. It should dislodge threads
sleeping while holding a reference to the descriptor. Implemented only for
sockets but should be extended to pipes, fifos, etc.
Fixes the case of a multithreaded process doing something like the
following, which would have hung until the process got a signal.
thr0 accept(fd, ...)
thr1 close(fd)
2009-04-04 10:12:51 +00:00
apb
0dadb6113f
All non-error messages printed to stderr by makeplist must begin with
...
"DEBUG:", or else regpkg assumes that they are error messages. Make the
verbose messages printed by the list_set_files function follow that
convention. Fixes PR 41077 from Lloyd Parkes.
2009-04-04 10:08:08 +00:00
bouyer
1fd1b49685
Fix for if_start() and pfil_hook() being called from hardware interrupt
...
context (reported on various mailing-lists, and part of PR kern/41114,
causing panic in pf(4) and possibly ipf(4) when BRIDGE_IPF is used).
Defer bridge_forward() to a software interrupt; bridge_input() enqueues
mbufs to ifp->if_snd which is handled in bridge_forward().
2009-04-04 10:00:23 +00:00
ad
481ff5ace4
Fix problems with ccd:
...
- Pending async I/O was tossed on unconfigure (should not happen, but..)
- It could exhaust memory under heavy I/O load.
- If memory allocation failed, disk transfers could stall.
- v_numoutput was updated without v_interlock held.
Additionally:
- Make it MPSAFE.
- Use kmem_alloc().
2009-04-04 08:29:39 +00:00
ad
4307e10df2
Add disk_isbusy(), iostat_isbusy().
2009-04-04 07:30:09 +00:00
perry
088cca6a88
add missing MLINKS for bitstring.3
2009-04-04 01:45:18 +00:00
perry
024260fb7b
sort
2009-04-04 01:36:31 +00:00
jld
09d4e48298
Make vi's '@' command work again; a precedence warning fix in r1.2 added
...
parens in the wrong place such that '@' did nothing. Needs pullup to -5.
Reported by Ed Ravin; fixes PR 41134.
2009-04-04 01:13:42 +00:00
perry
58e0c54cf3
Consistently use gzip with the -n flag so dates are not embedded.
...
Not tested on all platforms.
2009-04-03 22:36:34 +00:00