Commit Graph

2132 Commits

Author SHA1 Message Date
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
jdolecek 33e5945c93 also install mount_ufs manpage links
Fixes bin/11412 by Andrew Brown.
2000-11-02 18:02:16 +00:00
veego 3cae956077 Add a 'CLEANFILES+= checkname.c' to remove that file during a make clean. 2000-11-01 08:45:20 +00:00
enami 4952afaa4f Factor out some function declarations into a header file. 2000-11-01 04:10:02 +00:00
enami 290c3a67ba When failed to read disklabel to deduce filesystem type,
- don't warn.  It's just too verbose when we know there is
	  no disklabel and want to use the default filesystem type.
	- close the file descriptor so that further mount success.
2000-11-01 04:06:49 +00:00
enami a56e1ec458 Cosmetic changes. 2000-11-01 04:01:45 +00:00
lukem 4e9651bacd - use opendisk(3) instead of homegrown solution
- separate items in -s output with commas; much easier to read
- add maxOutstanding (aka queue len) to -s output
- sort #includes (per knf)
2000-10-31 14:18:39 +00:00
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