apb
324b3b8a78
Fix error in previous. Pass 1 needs to use progress_setrange(),
...
not progress_sethighlim().
2006-11-14 22:51:11 +00:00
apb
f93df16b06
Improve the progress bar displayed by fsck_ffs -p -P.
...
The progress bar will now travel from 0 to 20% during pass 1, from 20%
to 95% during pass 2, and from 95% to 100% during passes 3, 4, and 5.
Previously, the progress bar was not displayed at all during pass 1,
slowly traveled from 0 to about 50% during pass 2, and then very rapidly
traveled from 50% to 100% during passes 3, 4, and 5.
Note that fsck_ffs is the only user of fsck/progress.{c,h}.
2006-11-14 21:01:46 +00:00
dyoung
a25eaede91
Add a source-address selection policy mechanism to the kernel.
...
Also, add ioctls SIOCGIFADDRPREF/SIOCSIFADDRPREF to get/set preference
numbers for addresses. Make ifconfig(8) set/display preference
numbers.
To activate source-address selection policies in your kernel, add
'options IPSELSRC' to your kernel configuration.
Miscellaneous changes in support of source-address selection:
1 Factor out some common code, producing rt_replace_ifa().
2 Abbreviate a for-loop with TAILQ_FOREACH().
3 Add the predicates on IPv4 addresses IN_LINKLOCAL() and
IN_PRIVATE(), that are true for link-local unicast
(169.254/16) and RFC1918 private addresses, respectively.
Add the predicate IN_ANY_LOCAL() that is true for link-local
unicast and multicast.
4 Add IPv4-specific interface attach/detach routines,
in_domifattach and in_domifdetach, which build #ifdef
IPSELSRC.
See in_getifa(9) for a more thorough description of source-address
selection policy.
2006-11-13 05:13:38 +00:00
apb
e81d0de4e0
Fix a bug that caused 0.0.0.0/0 to be treated like 0.0.0.0/32.
...
foo << 32 is undefined per section 6.5.7 of the C99 standard
if foo is (or is promoted to) a 32-bit type.
2006-11-11 21:50:19 +00:00
jmmv
98f101bc9c
tmpfs is not considered experimental any more. OK'ed by core@.
2006-11-11 19:01:30 +00:00
jmmv
2947e73b43
Move lfs_cleanerd from /usr/libexec to /libexec. This is to allow putting
...
the root file system on a LFS volume.
Addresses PR bin/30407. No objections in tech-userlevel@.
2006-11-11 14:47:27 +00:00
christos
80955a4c43
replace varstack alloc with malloc.
2006-11-09 19:41:59 +00:00
christos
b6479e9fff
Fix malloc/realloc/calloc issues: always check and exit, use EEXIT instead
...
of 8.
2006-11-09 19:36:36 +00:00
yamt
442aa98fcd
remove nqnfs support.
...
namely,
- make -q a synonym of -3.
- ignore -L and -D.
2006-11-09 10:07:00 +00:00
christos
9f4a7c8c31
PR/34965: Nicolas Joly: sysctl(1) small memory leak
2006-11-02 14:54:21 +00:00
christos
09012c9606
prefix name in kern.drivers
2006-11-01 22:26:36 +00:00
mjf
a2be0ed655
Revert the changes I introduced trying to solve tmpfs' NFS export problem.
...
Requested by yamt@
2006-10-31 08:12:46 +00:00
christos
9e74871aa3
find rmd160.h
2006-10-30 01:21:53 +00:00
hannken
fcd5ec4841
When using a snapshot take the snapshot raw device on further open.
...
Fixes PR #34923 dump(8) only dumps a corefile with -X (snapshots)
Approved by: Manuel Bouyer <bouyer@netbsd.org>
2006-10-26 20:02:30 +00:00
mjf
84bd46b9f9
Add support to allow a file system to not permit being exported over NFS.
...
Approved by elad@ and wrstuden@
2006-10-24 21:53:10 +00:00
mrg
7d429c305a
use c99 initialisers.
2006-10-23 03:56:38 +00:00
christos
27ae1373d5
Mention include proper file for keyboard defines; from Zafer.
2006-10-22 19:39:32 +00:00
he
565d8259e3
Add initialization of a variable where gcc for some archs thinks
...
that it may be used un-initialized. From cursory inspection it is
not obvious that gcc is wrong.
2006-10-17 21:14:03 +00:00
wiz
1a2477c1ae
Serial comma. Add RCS Id. Remove superfluous quotes.
2006-10-17 09:32:34 +00:00
wiz
a88697ed0e
Improve English.
2006-10-17 09:26:21 +00:00
he
a738248ed5
Some of our ports want <sys/param.h> in order to have DEV_BSIZE defined,
...
needed for LABELSECTOR expansion.
2006-10-17 09:20:09 +00:00
christos
5afd1c0a23
use MOPT_NULL
2006-10-16 03:37:42 +00:00
christos
cf91149591
c99 initializer
2006-10-16 03:26:49 +00:00
christos
851ac27d44
c99 initializers
2006-10-16 03:25:21 +00:00
christos
8dd4b2bbb0
comment out/delete impossible code
2006-10-16 03:21:34 +00:00
christos
8cf4f4e359
c99 initializers
2006-10-16 03:21:05 +00:00
christos
b8a730da20
c99 initializer
2006-10-16 03:15:46 +00:00
christos
dcd203dd29
c99 iniitializer
2006-10-16 03:12:23 +00:00
christos
17e1e1af49
c99 initializer
2006-10-16 03:10:59 +00:00
christos
0e84886f1c
comment out impossible code.
2006-10-16 03:09:26 +00:00
christos
fef0df6d6b
c99 initializers
2006-10-16 03:09:06 +00:00
christos
6dd4b3398f
c99 initializers.
2006-10-16 03:04:45 +00:00
christos
f076ca6346
use c99 initializers
2006-10-16 03:02:01 +00:00
christos
68475dcb61
comment out impossible code.
2006-10-16 03:01:36 +00:00
christos
50b568b12d
c99 initializers
2006-10-16 02:56:56 +00:00
christos
9b005038ce
add missing initializer
2006-10-16 02:55:10 +00:00
christos
2f9c53340f
sprinkle volatile.
2006-10-16 02:54:23 +00:00
christos
00ab1df137
- get rid of p_cfunc2
...
- add missing initializers
2006-10-16 02:52:43 +00:00
christos
56641252ba
- add volatile
...
- static before const
2006-10-16 02:44:46 +00:00
christos
064b0504f7
c99 initializer
2006-10-16 02:43:19 +00:00
christos
457d135620
c99 initializers
2006-10-16 02:42:42 +00:00
christos
7e3b870a41
add missing initializers
2006-10-16 00:45:19 +00:00
christos
9052088997
add casts
2006-10-15 22:43:30 +00:00
christos
70a155bfa8
hook in gpt
2006-10-15 22:37:14 +00:00
christos
9b52236568
Make this work under NetBSD.
2006-10-15 22:36:29 +00:00
christos
5819a8c09d
Import the gpt tool from FreeBSD
2006-10-15 22:34:15 +00:00
christos
5bc3ea6c79
support printing kern.drivers
2006-10-15 21:33:34 +00:00
xtraeme
3481053ae9
Use O_DIRECT (aka Direct I/O) when -F is used.
2006-10-15 13:18:24 +00:00
xtraeme
7cf1cb802e
Detect FFSv1 partitions with fragsize/blocksize greater than
...
2048/16384.
2006-10-14 13:22:34 +00:00
pooka
1cacfd0524
lower value mean higher priority for bridges
...
+ fix off-by-one
Tobias Nygren, bin/34781
2006-10-11 13:16:39 +00:00