jdolecek
366b58f084
mount(8) now includes code for all mount_*(8) but mount_portal(8) and
...
mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount routine
is called depending on program name) - this saves approx. 1.7MB of /sbin
space
mount.c: make all local symbols static
2000-10-30 21:31:49 +00:00
jdolecek
3d64d110ca
fix copyright (damned copy&paste)
2000-10-30 20:58:20 +00:00
jdolecek
debb6d80a3
make the code includable into other programs:
...
* make static all symbols which do not need to be exported
* rename main() to mount_FOO()
* new main() now just calls mount_FOO(), main() is only compiled in if
MOUNT_NOMAIN is not defined
* a_gid(), a_uid() and a_mask() were put into ../mount/fattr.[ch], local
versions removed
2000-10-30 20:56:57 +00:00
itojun
00f86cf2f4
use YHEADER, not YFLAGS+=-d. from kre
2000-10-29 12:32:06 +00:00
oster
617759aa4c
- cleanup wording and add additional comments on such things as
...
"component1" and "raidctl -A yes"
- add a note about how to build a RAID set with a limited number of disks
(thanks to Simon Burge for suggestions)
- improve layout of 'raidctl -i' discussion (thanks to Hubert Feyrer)
- add a (small) section on Performance Tuning
2000-10-27 02:40:37 +00:00
jdolecek
6a6f9705de
add couple of missing entries, update kern.maxptys entry - it is not raise only
2000-10-26 07:35:56 +00:00
fvdl
2753597fd4
Disable VERBOSE_BLOCKMAP by default; it allocates huge amounts of
...
memory, causing immediate fsck_lfs failure for big filesystems.
2000-10-19 14:58:40 +00:00
kleink
e90b215b52
Don't make references to _10Mb/s_ Ethernet where not appropriate; from
...
Christian Weisgerber.
2000-10-18 07:27:11 +00:00
simonb
9b22175a26
Remove INSTALLFLAGS=-fschg, as per change to usr.bin/ssh/ssh/Makefile.
2000-10-18 00:24:18 +00:00
wiz
af69e93eb8
change mentioning of `login' to a .Xr in one place
2000-10-17 01:07:43 +00:00
itojun
055f6cd999
have description on -v. sync with kame
2000-10-15 13:43:51 +00:00
bjh21
c6f45d411c
Ah, so _that_'s how you get a backslash in a macro argument.
...
Thanks to itojun for pointing it out.
2000-10-15 13:40:53 +00:00
bjh21
ebd0b719b0
Various formatting cleanups (mostly to use .Ql).
...
Note that getting a single backslash inside Ql seems to need SIXTEEN
of them in the source!
2000-10-15 13:21:40 +00:00
itojun
593affa94c
do not segv on too many args. sync with kame
2000-10-12 10:35:48 +00:00
he
5b7047ce18
The type of sizeof() can be u_long, so cast to that and print with %ld.
2000-10-11 21:08:54 +00:00
he
e3ab5a24f9
Format fixup. size_t can be long, so cast to u_long and print with %ld.
2000-10-11 21:02:05 +00:00
he
ecaef6e7a4
Better fix for format warnings.
...
The type of time_t varies between ports, so we need to cast
before printing. It appears to be sufficient and safe to use (int).
2000-10-11 20:25:29 +00:00
abs
5d868db883
When determining the filesystem type automatically, only try the raw device
...
for the disklabel if the given device fails with EBUSY. Also make disklabel
errors non fatal (just fall back to ffs as per pre-autofilesystem behaviour)
Based on further discussion with Launey Thomas <ljt@alum.mit.edu>
2000-10-11 17:56:05 +00:00
itojun
874bb03cac
make the directory suitable with with latest racoon
...
- add random.c.
- don't suppress warning.
2000-10-11 05:41:18 +00:00
briggs
1e8e167a26
Fix format warnings
2000-10-11 04:57:42 +00:00
is
9979da6cbb
Format string cleanups by Bill Sommerfeld.
2000-10-10 20:24:49 +00:00
itojun
d72739fb8a
on "route monitor", print RTM_IFANNOUNCE, RTM_IFINFO (new #), and others.
2000-10-10 09:35:05 +00:00
christos
c4c61b5a08
allow -I -i to install a new label interactively.
2000-10-08 23:32:50 +00:00
bjh21
162b0b6410
Miscellaneous -mdoc cleanups.
2000-10-08 09:53:00 +00:00
bjh21
30ee56ec59
Mention that ldconfig is a.out only.
...
Should fix PR bin/10299.
2000-10-08 09:33:13 +00:00
darrenr
a2d10b89c2
initialize kernel to _PATH_UNIX and remove local variables in functions
...
which are essentially copies of kernel.
2000-10-08 07:04:28 +00:00
itojun
b91818e7e8
fix truncated response handling; sync with kame
2000-10-08 00:26:38 +00:00
itojun
794318ceff
avoid fd_set overflow. see openbsd select(2).
2000-10-07 06:50:43 +00:00
itojun
c0de460728
repair fd_set size attack. from deraadt.
...
some of cleanups from kame (inet_ntop error check, unnecessary headers,
stddev computation like ping(8)).
$NetBSD$.
2000-10-07 06:36:50 +00:00
ad
5b09090e8e
insure -> ensure
2000-10-05 12:35:33 +00:00
enami
9b6f3e1ce2
Don't explain -s twice.
2000-10-05 03:24:41 +00:00
jdolecek
cf8b00f58b
setup(): use calloc() for blockmap allocation, instead of malloc() followed
...
by bzero(); the net result is that the test for allocation failure
is actually sensible now
2000-10-04 11:37:54 +00:00
itojun
72beb4728a
add config file directory
2000-10-04 00:27:48 +00:00
itojun
f0dc76db35
a test build tree for racoon IKE daemon.
...
you need KAME tree to compile this (point the top by ${KAMEROOT}
in Makefile.inc).
XXX maybe too big for /sbin...869K with certificate support, and 574K without
certificate support (i386, stripped, static-link)
2000-10-04 00:21:17 +00:00
itojun
4bfd9169a9
support rijndael-cbc.
2000-10-03 21:48:33 +00:00
bjh21
9626c2fdbb
Put the sections in the canonical order.
...
Fix formatting of '=' and '+='.
File names are .Pa, not .Ar.
2000-10-03 14:33:16 +00:00
thorpej
9e992b012b
In tunnel_status(), if we have an IPv6 kernel, but a driver doesn't
...
support IPv6 tunnel endpoint addresses, fall back on the sockaddr
version of the ioctls.
2000-10-02 22:30:40 +00:00
hubertf
c58e6bf54d
We don't ship format(8), so don't x-ref it.
2000-10-02 21:17:04 +00:00
abs
5087b081db
When opening a partition to automatically determine the filesystem type,
...
always use the raw partition in case it is already mounted and this is
an 'update' mount. Patch from Launey Thomas <ljt@alum.mit.edu>
2000-10-02 18:52:47 +00:00
perseant
7d6de39e20
Handle "-m 0" properly (PR #11112 ).
2000-10-02 16:06:48 +00:00
darrenr
3904e69e83
savecore was looking up dumpdev, etc, from the wrong kernel
2000-10-01 02:27:06 +00:00
fvdl
00a8c99503
Modification to previous: only build for ports that are a.out or used
...
to be a.out. No sense in building for ports that never were a.out.
2000-09-29 19:00:59 +00:00
fvdl
989e0d2613
Build this on ELF as well. When on an ELF system, only look in
...
_PATH_EMUL_AOUT/etc/ld.so.conf.
2000-09-29 17:47:52 +00:00
thorpej
c77c2baf89
Add vlan(4) support. From Andy Doran <ad@netbsd.org>.
2000-09-27 23:00:24 +00:00
jdolecek
08d0274af3
fix typo (remplaced --> replaced)
2000-09-26 13:28:27 +00:00
gmcgarry
69a9911e49
Fix spelling.
2000-09-20 22:08:01 +00:00
abs
7dea4938ea
If device and mountpoint are given without -t, and without a : in the
...
device, check the disklabel for filesystem type. Fall back to ffs as ever.
2000-09-18 10:48:23 +00:00
abs
3b81524ad0
if readboot() calls pfatal(), we need to print a \n before exiting
2000-09-15 22:11:41 +00:00
perseant
15c84d56e5
Do not report write errors if the user specified the -N flag.
...
Also, change the segment size report to include the total size of the disk,
similar to newfs, e.g.
newfs_lfs -N -F -B 65536 /dev/rsd0b
272.7MB in 4363 segments of size 65536
super-block backups (for fsck -b #) at:
16, 55824, 111632, 167440, 223248, 279056, 334864, 390672, 446480, 502288
2000-09-11 01:32:21 +00:00
jdolecek
f973bb5351
document kern.maxptys/KERN_MAXPTYS
...
note that kern.maxvnodes is raise only
2000-09-09 17:06:34 +00:00