Commit Graph

2157 Commits

Author SHA1 Message Date
simonb 6714e09fe2 Need an lfdir global variable now. 2000-12-14 00:32:22 +00:00
scw e89e2124d1 Global variables don't need to be initialised to zero. 2000-12-13 22:45:12 +00:00
scw 8c5df3aa33 `dev_bsize' needs to be declared extern. 2000-12-13 22:44:44 +00:00
scw 9482a2a194 Some more `extern's for initialised globals. 2000-12-13 22:38:15 +00:00
mycroft 078acb237c Fix an annoyingly incorrect message. 2000-12-13 03:04:51 +00:00
itojun e845d2144b make kerberos *.o conditional. 2000-12-12 22:41:51 +00:00
onoe 86d874c2bf Add powersave/powersavesleep into usage.
Fold usage output (still 14 lines...)
2000-12-12 20:27:42 +00:00
onoe f56e1f272f powersavesleep requires argument 2000-12-12 20:22:45 +00:00
thorpej f293b8799b Update for changes to KAME-current. racoon(8) now supports GSSAPI-Krb5
authentication for Phase 1 per dratf-ietf-ipsec-isakmp-gss-auth-06.txt.

This work was done by Frank van der Linden of Wasabi Systems, Inc.
under contract from Zembu Labs, Inc.
2000-12-12 17:18:58 +00:00
thorpej b22f104458 Add powersave, -powersave, and powersavesleep to manipulate 802.11
power management parameters.
2000-12-12 04:08:40 +00:00
wiz 9bf97e8322 Back out sysctl part for now, awaiting the result of further discussion,
on request of Andrew Doran.
2000-12-11 14:33:51 +00:00
wiz 4c06e7a434 Output proper warning if dumplo == -1 (as it can happen on macppc without
swap partition), instead of "kvm_dump_mkheader: Pread: Invalid argument".
2000-12-08 22:03:23 +00:00
wiz ba968ca2e4 de-__P(), and generally try to be more conforming to the new NetBSD style.
Use %m in syslog strings where appropriate.
Reduce warnings with WARNS=2.
2000-12-07 03:55:44 +00:00
wiz a934922366 Don't mention rc(8), we're using rc.d now. 2000-12-07 03:18:03 +00:00
wiz e7fe5f1380 Fix argument handling, which was pretty broken.
If sysctl supports it, try to get the kernel name with CPU_BOOTED_KERNEL.
Get current kernels version string in all cases.
Adapt some error messages to the correct kernel name.
Reviewed by Simon Burge.
2000-12-07 03:17:17 +00:00
perseant 8a3e9fdf9d Add "-A" option to autoconfigure the segment size based on measured
bandwidth and seek time of the disk, using the "4 * bandwidth * seek
time" formula from Neefe-Matthews' 1997 paper.  An RZ25 disk with this
option gets 200K segments.  Reference the paper in the manual page.
2000-12-05 19:51:14 +00:00
scw 222e7ea5ea Fix a bug introduced by 4.4-Lite:
Don't try to subtract the address of "acg.cg_firstfield" from
"acg.cg_nextfreeoff", as it's already relative to the start of "&acg".
This always worked because the result of the subtraction was
always negative, thus could never be > "sblock.fs_cgsize" ...
2000-12-04 09:59:48 +00:00
itojun bbaa97fa45 sync with latest kame.
- validate strdup() error on argument parsing.
- use strlcat on complex string manipulation.
2000-12-02 02:54:21 +00:00
simonb c878d09614 For mount_mfs, allow an 'm' suffix to the file system size option to
specify the size of the mfs in megabytes.

Inspired by the Solaris tmpfs "-o size=sz" option.
2000-12-01 12:48:09 +00:00
simonb b234617a20 Put extern variable declarations in "extern.h". 2000-12-01 12:03:27 +00:00
simonb 06cbcf7494 ANSIfy. 2000-12-01 11:52:54 +00:00
perseant ea919b5343 Change "cpg" to "cpg/sgs" in the printed partition table header, in an
attempt to avoid confusion.  (PR #9230)
2000-11-27 23:13:12 +00:00
ad 1b9fadaf46 typo 2000-11-26 15:13:19 +00:00
perseant 262e70b7e7 Initialize inodes' generation number to 1, consistent with their version
number.
2000-11-23 23:09:57 +00:00
perseant 7c5a881d60 Check/fix accounting of lfs_dmeta. Patch from Jesse Off
<joff@gci-net.com> (PR #11534).
2000-11-21 06:24:26 +00:00
lukem ddbba91107 fix incorrect comment; -d does work! 2000-11-17 12:35:09 +00:00
mrg f44b54e376 support new `swapctl -z' that shows the dump device. 2000-11-17 11:43:41 +00:00
jdolecek bec09f2dd9 also visit mount_* for 'make clean' and 'make distclean'
Pointed out by Minoura Makoto in private e-mail.
2000-11-16 08:07:55 +00:00
abs fc52578672 xref (disklabel.8, fdisk.8, mbrlabel.8) as appropriate 2000-11-14 11:06:19 +00:00
perseant 9683b76b99 Try to prevent running more than one active cleaner on a filesystem at a time.
Let lfs_cleanerd record its pid in /var/run like other daemons.  Make
mount_lfs not start another cleaner when updating the mount, unless it is
being upgraded from read-only to read-write; when downgrading to read-only,
kill the cleaner using the recorded pids.
2000-11-13 22:12:49 +00:00
jdolecek 57e4e7265b add mount_* to SUBDIR for 'make obj', so that the obj directories get
created and used. Some ramdisks compile individual mount_* commands
directly and hence need the obj dirs setup in order to allow shared
source tree.
Noted in private mail by Andrew Brown <atatat@atatdot.net>.
2000-11-13 05:29:31 +00:00
perseant a3bb9e16b4 Report, and detect and correct inconsistencies in, the number of clean
segments.  Patches from Jesse Off <joff@gci-net.com> (PR #11470).
2000-11-13 00:30:48 +00:00
perseant 5975446609 Add "-f" flag to match fsck(8) manual page. This flag currently has no
effect.  Fixes PR #11129.
2000-11-11 22:26:10 +00:00
itojun a21e536042 improve spec conformance of node information query (07).
sync with kame.
2000-11-11 00:46:36 +00:00
enami d86faab485 Cosmetic change; actually split a line which looks like as if two lines. 2000-11-10 03:12:45 +00:00
eeh 59da39b946 Document new hw.cnmagic sysctl(8) variable. 2000-11-08 22:48:32 +00:00
hubertf 1320b80b0e xref lfs_cleanerd(8) in SEE ALSO 2000-11-08 19:43:16 +00:00
hubertf cf64122954 xref dump_lfs(8), newfs_lfs(8) in SEE ALSO 2000-11-08 19:40:04 +00:00
hubertf 4fdbe215a1 In SEE ALSO:
* it's dump_lfs(8), not dumplfs(8)
 * xref mount_lfs(8)
2000-11-08 19:37:46 +00:00
itojun 9df2062a31 - fix -s with small number (like < 8). kame 1.97 -> 1.99
- add fflush.  kame 1.96 -> 1.97
- alpha friendly (printf format - %ld and others)  kame 1.93 -> 1.94
sync with kame
2000-11-08 12:05:09 +00:00
itojun 374c623f95 show IPv6 interface address status "deprecated" (preferred lifetime = 0).
RFC2462.  sync with kame.
2000-11-07 14:47:59 +00:00
lukem 279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
lukem 42039d09f9 use .Xr 2000-11-07 05:40:17 +00:00
jdolecek 73367a6dad convert to use regex (it used compat regexp previously), g/c now unneded stuff 2000-11-06 14:05:54 +00:00
jdolecek 252a9be46b use mkdtemp(3) instead of mktemp(3)
call daemon(3) before the mount(2) call, so that we can fill correct pid
   to mount tag argument (previous code used getpid() + 1!)
2000-11-06 14:00:38 +00:00
jdolecek 7e315846e9 put in some commas, remove newlines 2000-11-06 13:53:53 +00:00
jdolecek bb40143374 fix typo 2000-11-06 12:34:25 +00:00
minoura f23be04b99 #include <string.h> for strlen() and strcpy(). 2000-11-06 07:48:28 +00:00
thorpej 7d56b25984 Visit wdogctl. 2000-11-04 18:54:13 +00:00
thorpej fb6f7d6f21 Add a program to manipulate watchdog timers. 2000-11-04 18:53:30 +00:00