Commit Graph

3928 Commits

Author SHA1 Message Date
thorpej
e6d38785ff Split tunnel support into its own file. 2005-03-19 17:32:26 +00:00
thorpej
21117c1aaf name -> ifname (avoid shadow decl with global name[]). 2005-03-19 17:31:48 +00:00
thorpej
1054956d85 Move extern decls to extern.h 2005-03-19 03:56:06 +00:00
thorpej
0fded9bea2 Split VLAN configuration bits out into a separate file. 2005-03-19 03:53:55 +00:00
perseant
9740d8d0b2 Buffer cache fixes: make sure we initialize all the hash lists, and allow
the cache to grow in size irrespective of how many buffers may be in the
locked queue, since we can't write those in any case.  Prevents fsck_lfs
from spinning when it has too much to write.
2005-03-19 00:43:17 +00:00
yamt
712c784484 update usage() for agr(4). pointed by Thomas Klausner. 2005-03-18 14:30:08 +00:00
wiz
f2636e2d3d Link to vlan(4) too, suggested by yamt. 2005-03-18 14:18:06 +00:00
wiz
2fa6ad9b68 Bump date for agr; add agr(4) to SEE ALSO. 2005-03-18 12:43:56 +00:00
yamt
5240b887db add agr(4), a pseudo network device driver for link aggregation. 2005-03-18 11:11:50 +00:00
atatat
64dd54edba Use regexes instead of static lists of annoying numbers to recognize
sysctl nodes that have "helpers".  This is more concise, imho more
easy to understand, and has the added bonus of making it *possible* to
assign helpers to dynamically numbered nodes.
2005-03-18 04:52:24 +00:00
lukem
6ac207736c Fix core dump when doing
mount fileserver:/somepath
by not passing a NULL pointer to getfsfile(3).
(Bug was introduced in rev 1.74 as part of fix for PR 28644.)
2005-03-18 04:24:35 +00:00
xtraeme
83d6c074cb Bump the number of inodes to 1024 in the MFS case, needed to
create more devices in the ramdisk images, ok'ed by thorpej@.
2005-03-15 23:43:50 +00:00
atatat
6472d0c335 Make requestors of kern.file2 be referred to pstat (the same as
kern.file) and add EINVAL to the list of errno values which are
silently ignored when walking the tree.
2005-03-15 13:59:35 +00:00
christos
192c2eccf6 Add -lcrypt where -lcrypto is specified. 2005-03-09 03:11:22 +00:00
matt
57537259e8 Add ifconfig support for TCP Segment Offload 2005-03-06 00:13:36 +00:00
dsl
6d840cfd52 Simplify a_uid and a_gid, and fix a_mask to actually use its argument
(fortunately it is always called with 'optarg')
Saves a few bytes from mount_msdos in rescue_tiny.
2005-03-03 21:15:26 +00:00
wiz
0a22669b85 Bump date for previous. 2005-02-28 22:03:05 +00:00
oster
3202ca277a Add a few more lines about the 'Parity status:' output of 'raidctl -s'.
This should address PR#29540.
2005-02-28 20:37:14 +00:00
uwe
410c49bf05 Support backlight, brightness and contrast wsdisplay paramteres.
Useful for hpc* ports.
2005-02-27 15:26:16 +00:00
perseant
5d2f3e4908 Various minor LFS improvements:
* Extend the lfs library from fsck_lfs(8) so that it can be used with a
  not-yet-existent LFS.  Make newfs_lfs(8) use this library, so it can
  create LFSs whose Ifile is larger than one segment.
* Make newfs_lfs(8) use strsuftoi64() for its arguments, a la newfs(8).
* Make fsck_lfs(8) respect the "file system is clean" flag.
* Don't let fsck_lfs(8) think it has dirty blocks when invoked with the
  -n flag.
2005-02-26 05:45:54 +00:00
manu
be15b99c92 Define SADB_X_EALG_AESCBC=SADB_X_EALG_AES, as we define SADB_X_EALG_AES
in <net/pfkeyv2.h> while ipsec-tools uses SADB_X_EALG_AESCBC in the code.
2005-02-24 13:45:08 +00:00
thorpej
df9803ce96 Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding.  Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes.  Place items described
by the SCSI Primary Commands document into scsi_spc.h.
2005-02-21 00:29:06 +00:00
christos
6cc7a7474f Skip empty lines, and free the line buffer so that we don't leak. 2005-02-19 20:50:26 +00:00
christos
5422e51834 PR/29457: Joachim Kuebart: pppoectl's config file does not allow # in passwords
Fixed, by passing FPARSELN_UNESCALL in parsing.
2005-02-19 18:26:09 +00:00
thorpej
c5aea678b7 Additional cleanup pass. 2005-02-19 16:58:26 +00:00
thorpej
354f2a1004 Switch to ipsec-tools for libipsec, setkey, and racoon. From
Emmanuel Dreyfus, with some small changes by me.
2005-02-19 16:55:02 +00:00
xtraeme
0b39b8da10 Kill __P(), use ANSI function declarations. 2005-02-17 15:17:44 +00:00
xtraeme
f224c38b66 Kill __P(), use ANSI function declarations. 2005-02-17 15:00:33 +00:00
simonb
3cebd9325e White space nit- don't put a space before/after increment/decrement
operators.
2005-02-11 06:21:21 +00:00
ws
d53c382dbf Add support for large files (>2GB).
Allow conversion of old filesystems to use this,
if they are already at revision 1.

There probably should be an option to turn revision 0 to revision 1.

Reviewed (in part) by Manuel (bouyer@).
2005-02-09 22:55:45 +00:00
xtraeme
831d2b827b Kill __P(), use ANSI function declarations. 2005-02-09 14:31:29 +00:00
xtraeme
f0121f1f1b Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-09 14:21:37 +00:00
xtraeme
39707ce809 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-09 14:09:46 +00:00
xtraeme
a8d83732cf Kill __P(), use ANSI function declarations, constify; WARNS=3. 2005-02-09 13:57:57 +00:00
xtraeme
0b95ea2d66 WARNS=3. 2005-02-09 06:26:13 +00:00
xtraeme
f7f1785232 Kill __P(), use ANSI function declarations, constify; WARNS=3.
Reviewed by mrg@.
2005-02-09 05:51:38 +00:00
perry
5c9f370160 remove obsolete "register" declarations. 2005-02-06 06:13:47 +00:00
perry
251f7f5990 ANSIfy a function declaration, remove obsolete "register" declarations. 2005-02-06 06:13:12 +00:00
perry
72f1c263c6 ANSIfy a function declaration, remove obsolete "register" declaration. 2005-02-06 06:07:12 +00:00
xtraeme
60fef07963 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:55:44 +00:00
xtraeme
77bf707374 ll __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:54:35 +00:00
xtraeme
816b5578c8 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:47:18 +00:00
xtraeme
23bd8cd383 Kill __P(), use ANSI function declarations. 2005-02-05 14:44:46 +00:00
xtraeme
8a489f424f Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:35:25 +00:00
xtraeme
b64027cd07 Kill __P(), use ANSI function declarations. 2005-02-05 14:33:50 +00:00
xtraeme
e4e811215a Kill __P(); 2005-02-05 14:26:05 +00:00
xtraeme
bd95a8e7af Kill __P(), use ANSI function declarations. 2005-02-05 14:23:24 +00:00
xtraeme
69cbd40c14 Kill __P(), use ANSI function declarations. 2005-02-05 14:05:23 +00:00
xtraeme
4ad9c5a867 Kill __P(). 2005-02-05 13:47:19 +00:00
xtraeme
9bab889d46 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 13:37:39 +00:00
xtraeme
48bd1327fa Finish previous (use ANSI function declarations) this time. 2005-02-05 13:17:54 +00:00
xtraeme
866012a7e2 Kill __P(), use ANSI function declarations. 2005-02-05 13:15:12 +00:00
xtraeme
921249f1c3 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 12:38:58 +00:00
wiz
0c1ed68c30 Give Dd the full month names as argument. 2005-02-01 13:38:53 +00:00
fredb
4627df7dfc Greg Oster just reminded me, I left out "vax". 2005-01-31 17:11:33 +00:00
fredb
680ae8dc03 Sync with raid(4) regarding the architectures that support booting directly
from RAID 1, using language supplied by Anders Dinson in PR bin/29158, with
some additions by myself.
2005-01-31 16:42:15 +00:00
he
66369741ef Move local variable declaration to variable declaration section at
top of function, and at least away from after active code within
a block.  Fixes build problem with gcc 2 (for vax).
2005-01-31 14:18:08 +00:00
joff
9ff2922f8d o Add missing SGI wskbd type
o Add new MATRIXKP wskbd type
2005-01-31 06:24:08 +00:00
erh
fdd16c549b Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
device nodes into absolute paths before using them.
2005-01-31 05:19:18 +00:00
erh
897e5cc524 PR #28644: Use realpath to make mount more forgiving of non-canonical
mount paths entered on the command line.
2005-01-31 02:32:35 +00:00
erh
a432762d9a Fix PR#3205 for the -a case: when the list of mount points comes from the
kernel, always use "raw" mode (-R option) so unmounting odd mount points works.
Also, fix available options in SMALL mode to include -R, not -r.
2005-01-31 01:19:30 +00:00
yamt
389f0f7cb8 note that loopback mount is a bad idea. 2005-01-21 15:49:43 +00:00
wiz
d68085a6b6 "-offset indent" is fine for option lists -- re-add it,
backing out previous. jmmv does not disagree.
2005-01-21 10:40:01 +00:00
xtraeme
76500fc2f9 WARNS=2 is the default defined in sbin/Makefile.inc. (thanks wiz) 2005-01-20 16:39:22 +00:00
xtraeme
843cdb1983 Fix the cast for the getnameinfo() call in the status() function, which
should be "const struct" not "struct" for sockaddr.

WARNS=3
2005-01-20 16:16:10 +00:00
xtraeme
6b01b69054 Remove main() prototype; WARNS=3 2005-01-20 16:02:32 +00:00
xtraeme
784c275927 Remove main() prototype; WARNS=2 2005-01-20 16:01:02 +00:00
xtraeme
d40da986ee Kill __P(), ANSIfy, remove main() prototype; WARNS=2 2005-01-20 15:59:40 +00:00
xtraeme
7b1148bc92 ANSIfy; WARNS=3 2005-01-20 15:56:30 +00:00
xtraeme
a448b41c5a Remove main() prototype; WARNS=2 2005-01-20 15:55:01 +00:00
xtraeme
6d580415e4 ANSIfy; WARNS=3 2005-01-20 15:53:35 +00:00
xtraeme
ad7c30a166 WARNS=2 2005-01-20 15:52:09 +00:00
xtraeme
10928b7240 Kill __P(), ANSIfy, remove main() prototype; WARNS=3 2005-01-20 15:50:47 +00:00
xtraeme
e3529b263e Kill __P(), ANSIfy, remove main() prototype; WARNS=2 2005-01-20 15:49:24 +00:00
xtraeme
7fb01f0f08 Remove main() prototype; WARNS=3 2005-01-20 15:47:51 +00:00
xtraeme
743ce43fbc Kill __P(), remove main() prototype; WARNS=2 2005-01-20 15:36:02 +00:00
xtraeme
e3c8f73b9a whitespace (pointed out by wiz@) 2005-01-20 15:29:40 +00:00
xtraeme
d9f85c2154 Kill __P(), ANSIfy, remove main() prototype; WARNS=3 2005-01-19 20:48:13 +00:00
xtraeme
2b44291ffe Remove main() prototype. 2005-01-19 20:46:16 +00:00
xtraeme
8b90e8f10f Remove main() prototype; WARNS=2 2005-01-19 20:43:06 +00:00
xtraeme
61d594f024 Kill __P(); WARNS=2 2005-01-19 20:42:04 +00:00
xtraeme
844f4c525d Kill __P(), ANSIfy, remove main() prototype; WARNS=2 2005-01-19 20:37:52 +00:00
xtraeme
d4a0de51f8 Kill __P(), ANSIfy, remove main() prototype; WARNS=2 2005-01-19 20:19:04 +00:00
xtraeme
65e67723b5 Kill __P(), ANSIfy, remove main() prototype. 2005-01-19 20:00:45 +00:00
xtraeme
0f821b7962 ANSIfy, WARNS=2 2005-01-19 19:41:59 +00:00
xtraeme
ccde05f070 Kill __P(), ANSIfy, remove main() prototype; WARNS=2 2005-01-19 19:31:28 +00:00
xtraeme
665b6c1237 Add 'P' (progress meter flag) to getopt()'s optstring, remove
main() prototype.
2005-01-19 17:48:15 +00:00
xtraeme
52781d1897 Kill __P(), ANSIfy and WARNS=2 2005-01-19 17:33:58 +00:00
wiz
442b6cb908 Add -P to usage. 2005-01-19 16:42:14 +00:00
wiz
b15d62ff8b Sort options. Bump date for -P. Remove superfluous -. 2005-01-19 16:41:04 +00:00
wiz
0826288907 Sync usage with reality. 2005-01-19 16:38:28 +00:00
wiz
9817d5f00a Sort options. 2005-01-19 16:13:57 +00:00
dogcow
72e5ae587b Add missing SMART attribute (6, Read channel margin) 2005-01-17 13:00:32 +00:00
christos
5f101a4767 When we run with 'fsck -f -n' we should go over all the filesystems, not
exit on the first one that fails. Add a new flag CHECK_NOFIX so that we
specify -n, we keep going.
2005-01-13 22:56:09 +00:00
christos
d90f13b3bf Use -DPROGRESS to enable the progress bar, don't depend on SMALL. 2005-01-13 19:56:02 +00:00
christos
a73c2bd574 Add a progress meter to fsck_ffs based on the work by thorpej presented
to the mailing lists last January. This is optional.
2005-01-13 15:22:35 +00:00
jmmv
35495e3550 Remove extra indentation from the options list. 2005-01-13 13:21:24 +00:00
lukem
4dba64f5d3 Revert previous revert; we don't need RESCUEDIR handling here now
<bsd.prog.mk> has it.
2005-01-13 03:21:59 +00:00
drochner
bad8321653 apply "& WDOG_MODE_MASK" at some places, fixes termination of the
usermode tickler process and watchdog display,
make error handling more reasonable in case a wdog disappeared
2005-01-12 16:18:39 +00:00
simonb
3f75969658 Add (unsigned char) casts to is{digit,lower,space,upper} calls. 2005-01-12 09:04:53 +00:00