Commit Graph

5114 Commits

Author SHA1 Message Date
lukem
6d5ff7c496 - clean up some debugging and verbose output
- use fs_cstotal.cs_nifree rather than fs->fs_ncg * fs->fs_ipg to
  determine the number of free inodes available in the file system
- don't count '.' (the root node for a level) in inode sizing, since
  the parent has already been counted
- some more todo items
2002-02-06 02:17:14 +00:00
mrg
171ba175d1 fix typo: s/hard/hand/ 2002-02-06 01:38:53 +00:00
agc
bf3822aec1 Search uid ranges properly, using command line ranges if provided, and
using the default range last.

Problem reported by Cillian Sharkey <cns@redbrick.dcu.ie>
2002-02-05 19:18:29 +00:00
lukem
daea03f9f5 Support /unset all', to unset all of the global values set with /set ...' 2002-02-05 12:15:13 +00:00
drochner
b62fa6e610 remove unwanted shadowing of variables 2002-02-04 16:48:44 +00:00
drochner
34d5e5eed3 .OBJDIR fix for "test" target 2002-02-04 16:44:06 +00:00
fair
38f90cfb28 Patch from PR 14724 to document the -q option. 2002-02-04 10:49:19 +00:00
lukem
f93e02f7db - use lch*() instead of ch*() to change permissions, so that links in
the specfile don't confuse things.  doesn't affect the default
  (physical) operation, and shouldn't affect logical either.
- slightly rework how miss() is implemented so that duplicated code is
  reduced and links may optionally have a mode, uname and/or gname.
2002-02-04 07:17:14 +00:00
lukem
0719c73e2a explicitly chmod(2) newly created devices 2002-02-04 05:16:41 +00:00
fair
622875edb1 Revise wording about the -q and -c options per PR 12035.
Correct nroff nits, and fix some incorrect abbreviation usage
("i.e." was used where "e.g." should have been used).
2002-02-03 09:19:55 +00:00
tv
eef7548a36 Move CLEANFILES up so it is actually used. Noted by Bernd Ernesti. 2002-02-02 17:11:38 +00:00
yamt
9b2987d371 tets -> test 2002-02-02 15:30:18 +00:00
wiz
07acb1b340 Use standard headers, mark up AUTHORS section. 2002-02-02 02:31:02 +00:00
wiz
e36ba1263a Use standard headers, mark up AUTHORS section, drop a .Pp. 2002-02-02 02:30:32 +00:00
wiz
c6e6ff1581 Use standard headers, sort SEE ALSO. 2002-02-02 02:29:43 +00:00
wiz
067d6673ab Use standard headers, mark up AUTHORS section. 2002-02-02 02:29:15 +00:00
wiz
1514a31617 Sort SEE ALSO, use standard headers. 2002-02-02 02:28:17 +00:00
wiz
bded6a9382 Use standard headers, mark up AUTHORS section. 2002-02-02 02:27:14 +00:00
wiz
d8e5f0a4f7 Drop a .Pp, use standard headers, mark up AUTHORS sections. 2002-02-02 02:24:49 +00:00
wiz
8f4d0be9a7 Sort sections, use standard headers and markup in AUTHORS section. 2002-02-02 02:20:30 +00:00
wiz
0d02730858 Sort SEE ALSO, use standard headers and markup in AUTHORS section. 2002-02-02 02:19:13 +00:00
wiz
a1d4027fdc Improve markup in once place, sort SEE ALSO, use standard headers. 2002-02-02 02:13:28 +00:00
wiz
ea73e83985 Sort sections. 2002-02-02 02:09:04 +00:00
wiz
e1833adb69 Sort sections, sort SEE ALSO, drop a .Pp. 2002-02-02 02:08:23 +00:00
wiz
32344167c3 Sort SEE ALSO, use standard headers. 2002-02-02 02:07:01 +00:00
wiz
23455e9072 Use standard headers. 2002-02-02 02:06:50 +00:00
wiz
97e18ab0bb Fix typo in date, sort SEE ALSO, use standard headers. 2002-02-02 02:06:23 +00:00
wiz
b75432a4bf Use standard headers. 2002-02-02 02:05:29 +00:00
wiz
f5e1a54bb6 Sort sections. 2002-02-02 02:03:48 +00:00
wiz
253bbb63be Fix xref. 2002-02-02 02:03:13 +00:00
wiz
09141f935a Sort sections. 2002-02-02 02:02:44 +00:00
wiz
16f5077dde Drop a .Pp, add move comma to end of word instead of beginning of next line. 2002-02-02 02:00:19 +00:00
wiz
54e99130b1 Drop a .Pp, sort SEE ALSO. 2002-02-02 01:59:04 +00:00
wiz
2b666b304a Drop a .Pp, sort sections. 2002-02-02 01:57:35 +00:00
wiz
10780add08 Drop a superfluous .Pp. 2002-02-02 01:54:29 +00:00
wiz
b77937b920 Drop two superfluous .Pps, sort sections, drop trailing dot in SEE ALSO. 2002-02-02 01:52:32 +00:00
wiz
60ea852eba Use standard headers. 2002-02-02 01:51:20 +00:00
wiz
c51c412a70 Sort SEE ALSO, remove empty BUGS section. 2002-02-02 01:50:23 +00:00
wiz
f7b0046cee Sort SEE ALSO. 2002-02-02 01:49:59 +00:00
wiz
d71cd67ba6 Sort sections and SEE ALSO, correct markup for AUTHORS section. 2002-02-02 01:48:08 +00:00
wiz
ddac63620b Sort sections and SEE ALSO. 2002-02-02 01:47:36 +00:00
wiz
9a047ef78b Drop a .Pp. 2002-02-02 01:44:59 +00:00
wiz
2218541f7f Use standard headers. 2002-02-02 01:44:58 +00:00
wiz
ccd1965ef5 Sort sections, drop a .Pp. 2002-02-02 01:44:31 +00:00
wiz
1d9fe6b842 Use standard headers, mark up AUTHORS section. 2002-02-02 01:43:52 +00:00
wiz
146392e159 Sort sections. 2002-02-02 01:42:45 +00:00
wiz
fa58e5cf9d Sort sections, use standard headers, drop a .Pp. 2002-02-02 01:42:22 +00:00
wiz
0cedb12b9c Sort sections. 2002-02-02 01:41:22 +00:00
wiz
65d97d1e55 Improve markup, unquote header. 2002-02-02 01:40:52 +00:00
wiz
46f735035c Drop a comma. 2002-02-02 01:40:02 +00:00
wiz
419231002f Use standard headers. 2002-02-02 01:39:23 +00:00
wiz
04f4cfd571 Punctuation nits, sort sections and SEE ALSO, improve markup, use standard headers. 2002-02-02 01:38:54 +00:00
wiz
915c6c1865 Sort sections and SEE ALSO, use standard headers. 2002-02-02 01:37:13 +00:00
wiz
7ec6567148 Sort sections, use standard headers. 2002-02-02 01:35:30 +00:00
wiz
d30b208c5a Drop an unnecessary empty line. 2002-02-02 01:33:55 +00:00
wiz
df220a8153 Paragraph markup improvements, use Xr in one place. 2002-02-02 01:32:25 +00:00
wiz
ddb67af4bb Drop superfluous .Pp. 2002-02-02 01:31:50 +00:00
wiz
b85170c751 Improve markup, sort section, sort SEE ALSO. 2002-02-02 01:31:16 +00:00
wiz
923aa5f99b Drop an empty line. 2002-02-02 01:30:39 +00:00
wiz
e24be883e9 Sort sections. 2002-02-02 01:27:52 +00:00
wiz
3bd1b31f25 Use Xr for xrefs and use standard headers. 2002-02-02 01:27:22 +00:00
wiz
cfc1b4eee7 Sort sections, use standard headers. 2002-02-02 01:26:51 +00:00
wiz
7bdc66a6c8 Sort section, punctuation nit. 2002-02-02 01:26:18 +00:00
wiz
b083512733 Sort sections, mark up xrefs with .Xr. 2002-02-02 01:25:25 +00:00
wiz
1f9a8d013a Sort sections, use standard headers. 2002-02-02 01:23:39 +00:00
wiz
6aaa7bfd72 Sort section, punctuation nits. 2002-02-02 01:22:18 +00:00
wiz
ca3452180b Punctuation nits. 2002-02-02 01:21:44 +00:00
wiz
73d8bdb949 Drop a superfluous .Pp. 2002-02-02 01:21:00 +00:00
wiz
9e32083ba9 Sort sections, sort SEE ALSO. 2002-02-02 01:19:48 +00:00
tv
9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
tv
76834aef57 Protect __RCSID and __COPYRIGHT from being invoked if not defined. 2002-01-31 19:36:47 +00:00
tv
6f9b615f48 Make sure DESTDIR is defined before attempting to use it in a dependency. 2002-01-31 15:21:09 +00:00
tv
2b7bf32264 Make sure DESTDIR is set before using it in a dependency. 2002-01-31 15:16:21 +00:00
tv
a328e34106 Make almost all tools compile and run properly on non-NetBSD hosts. (In
particular, most tools now run correctly on Solaris 7.)
2002-01-29 10:20:28 +00:00
lukem
6dba6d95f7 add <util.h> back in for native builds. 2002-01-29 00:31:37 +00:00
lukem
4e4ee42772 don't bother initialising pwfile[] to _PATH_MASTERPASSWD and grfile[]
to _PATH_GROUP, because the simple_get{pw,gr}*() functions should not
be called by anything before those path arrays are setup by setup_getid().
2002-01-29 00:29:32 +00:00
tv
fcae5f73b7 Add hooks to make mtree compilable from src/tools. 2002-01-29 00:07:27 +00:00
ichiro
3ee53752e9 It is missing fflush() when scanning the network and no avaible AP. 2002-01-28 22:07:30 +00:00
simonb
f69ac131ba Drop the setgid'ness now that ../../usr.bin/vmstat/dkstats.c uses
sysctls now.
2002-01-28 02:16:56 +00:00
martin
977cd3d18e Fix leftover from ioctl generalization, causing crashes by checking
the first character of a NULL pointer to detect zero length strings.

Do not set PPP authentication multiple times while parsing the config
file, just do it once later.
2002-01-26 19:31:20 +00:00
lukem
72b9ef303f be a little bit more verbose 2002-01-26 13:27:53 +00:00
lukem
aa99e59f3d - crank default cpg from 16 to 65536, and let the auto-sizing code in
mkfs() do its job
- pass cpgflg=1 to mkfs() if the user provided cpg, =0 otherwise
- improve error reporting in ffs_write_file()
- only add superblock & block map slop for one cylinder group.
  trying to calculate the number of required cylinder groups caused
  too many problems when tweaking parameters for small file systems.
  rely upon slop from minfree, and upon ffs_write_file() to complain
  if the user is too aggressive about tweaking the parameters
2002-01-26 13:22:16 +00:00
martti
53a8f3ca45 Added few ipf examples 2002-01-26 09:30:53 +00:00
wennmach
fbd3eb4819 sync usage() message with realty 2002-01-25 20:30:41 +00:00
christos
d08bc504d8 If WI_RID_SCAN_APS is not defined, then don't support it. 2002-01-25 17:17:21 +00:00
martti
bdbbd6ee47 Fixed link between ipf.5 and ipf6.conf.5 2002-01-24 14:48:37 +00:00
martti
c2d00e7ce1 Added missing libraries, filenames and man pages 2002-01-24 08:24:38 +00:00
lukem
002b1b8ff4 -N dbdir allows reading user & group info from a different source 2002-01-24 03:21:34 +00:00
lukem
5781235dfe Add '-N dbdir', to specify that user & group lookups (via pwcache(3)) are to
be done from dbdir/master.passwd and dbdir/group, using simple text file
parsing routines from ../mtree/getid.c
2002-01-24 03:21:07 +00:00
lukem
9ca22e1409 Add '-N dbdir', to specify that user & group lookups (via pwcache(3)) are to
be done from dbdir/master.passwd and dbdir/group, using simple text file
parsing routines.
2002-01-24 03:20:11 +00:00
lukem
25cdf6cf5b add "-i input-device", to specify another device to monitor for activity 2002-01-24 01:34:13 +00:00
thorpej
ebc45776d2 vslprintf: Slight hack (?) to make "%r" work with the stdarg
implementation on x86-64.
2002-01-23 18:23:02 +00:00
lukem
3296e70335 revert part of previous; don't monitor framebuffers for input because
they get mtime updates on output.

XXX: need to find out how to monitor a wscons input device other than
ttyE0 that gets updated when keys are pressed on the console keyboard...
2002-01-23 17:30:17 +00:00
lukem
cd95ffb688 - check framebuffers for input, because /dev/ttyE0 (wscons framebuffer)
gets modified, not /dev/console or /dev/wskbd
- use /dev/wskbd instead of /dev/wskbd0
- use /dev/wsmouse instead of /dev/wsmouse0
2002-01-23 16:57:51 +00:00
lukem
5647b7df77 Merge create_fsinode() into create_fsnode(), so that a newly created
fsnode always has a valid inode member.   Problem noted by Artem Belevich.
2002-01-23 02:26:21 +00:00
lukem
e30101d9d6 more stuff 2002-01-23 02:14:19 +00:00
is
ef3617499c add config.h when compiled as host tool. 2002-01-22 13:03:57 +00:00
ichiro
66a56d4efe If the interface isn't up, up and scan.
then, down it when scanning is done.

point out from lha@stacken.kth.se, kern/15328
2002-01-22 02:09:11 +00:00
enami
d1998d430a Use .Fl instead of hardcoding -. 2002-01-22 01:35:39 +00:00
wiz
b36c0a5406 deamon -> daemon 2002-01-21 14:42:26 +00:00
ichiro
780b3934d4 display Beacon Interval of STA 2002-01-21 12:59:50 +00:00
ichiro
1635f76bf6 forces if_wi to initiate one round of access point scan.
This code was written by jrb@cs.pdx.edu, modified and bug-fixed by ichiro@netbsd.org
2002-01-21 11:35:06 +00:00
wiz
c43de8bde2 Include err.h for err(3) prototype. 2002-01-19 17:07:51 +00:00
wiz
a2d753e3ef Whitespace nits. 2002-01-19 11:44:57 +00:00
mjl
7ea8665c72 Catch open failure and exit with error instead of crashing. 2002-01-19 06:10:13 +00:00
wiz
483f92284e Whitespace nits. 2002-01-19 03:39:46 +00:00
wiz
59652c8572 Punctuation nits. 2002-01-19 03:38:36 +00:00
wiz
1b9e345181 Whitespace nits, sort SEE ALSO. 2002-01-19 03:37:38 +00:00
wiz
f79ee8e50f Sort sections, mark up AUTHORS section. 2002-01-19 03:36:44 +00:00
wiz
30a3135df2 Sort SEE ALSO and sections, use .An in AUTHORS section. 2002-01-19 03:36:20 +00:00
wiz
7e266c9a07 Improve markup. 2002-01-19 03:35:21 +00:00
wiz
4e823ac145 Whitespace nits. 2002-01-19 03:35:05 +00:00
wiz
8f48ce1461 Sort sections, sort SEE ALSO, whitespace nit. 2002-01-19 03:27:06 +00:00
wiz
aaba2b6d8a Whitespace nits. 2002-01-19 03:26:30 +00:00
wiz
3ecf4fd4b7 Whitespace nits, sort SEE ALSO and sections. 2002-01-19 03:26:04 +00:00
wiz
f01b2c896b Drop an unnecessary .Pp, sort sections, add postfix .Xr, and improve markup. 2002-01-19 03:25:12 +00:00
wiz
5d2bc3031d empty line -> .Pp; sort sections. 2002-01-19 03:24:14 +00:00
wiz
00dce9aae8 Sort sections, whitespace nit. 2002-01-19 03:23:47 +00:00
wiz
6051a9a396 Sort sections. 2002-01-19 03:23:11 +00:00
wiz
34828cce4a Convert .Xr to non-existing program to Ic. 2002-01-19 03:22:53 +00:00
wiz
d8081e42ef Sort SEE ALSO and sections. 2002-01-19 03:22:19 +00:00
wiz
51d0450786 Whitespace and punctuation nits, use standard headers. 2002-01-19 03:21:59 +00:00
wiz
81bf50c114 Whitespace nits. 2002-01-19 03:21:15 +00:00
wiz
01497fccea Whitespace nits, use standard headers. 2002-01-19 03:20:56 +00:00
wiz
3aebd5a62c Improve markup, sort sections. 2002-01-19 03:20:33 +00:00
wiz
6955458037 Whitespace nits. 2002-01-19 03:20:06 +00:00
wiz
6e1dd286e7 Drop unhelpful BUGS section and a trailing empty line. 2002-01-19 03:19:42 +00:00
wiz
5a14269d52 Sort sections. 2002-01-19 03:19:21 +00:00
wiz
f931748857 Drop unhelpful BUGS section. 2002-01-19 03:18:52 +00:00
wiz
ecff1ade60 Drop some unnecessary empty lines, improve markup in some places. 2002-01-19 03:18:35 +00:00
wiz
b86bccf480 Drop some unnecessary empty lines. 2002-01-19 03:17:42 +00:00
wiz
ea5e7da234 Drop a trailing empty line. 2002-01-19 03:17:08 +00:00
wiz
45c833365a Drop some unnecessary .Pp and an unnecessary section, and replace an empty
line with .Pp.
2002-01-19 03:16:41 +00:00
wiz
9afed566e5 Sort sections. 2002-01-19 03:15:44 +00:00
wiz
6b626e5f08 Use standard headers, sort sections, mark up AUTHORS section a bit more. 2002-01-19 03:15:05 +00:00
wiz
546138910d Drop some unnecessary .Pp, sort sections and SEE ALSO. 2002-01-19 03:14:33 +00:00
wiz
cf8a1479f6 Whitespace and punctuation nits, improve some markup. 2002-01-19 03:14:10 +00:00
wiz
c982600639 Drop .Pp before subsection, whitespace nit and sort sections. 2002-01-19 03:12:56 +00:00
wiz
8beb130316 Whitespace and punctuation nits, sort SEE ALSO. 2002-01-19 03:12:18 +00:00
wiz
76cb93f4d7 Drop a trailing empty line. 2002-01-19 03:11:44 +00:00
wiz
51d5c7d6bd Whitespace nit, sort sections. 2002-01-19 03:11:34 +00:00
wiz
5ba5a79d16 Sort SEE ALSO. 2002-01-19 03:10:41 +00:00
wiz
6b314d973d Whitespace nits. 2002-01-19 03:10:26 +00:00
wiz
98832f4861 Whitespace nit, sort sections. 2002-01-19 03:10:06 +00:00
wiz
5db87f557b Whitespace nits. 2002-01-19 03:09:21 +00:00
wiz
578af6b124 Fix xref. 2002-01-19 03:09:06 +00:00
wiz
3abdd84a78 Whitespace nits, and standardize an xref. 2002-01-19 03:08:50 +00:00
wiz
b0729ea665 Whitespace and punctuation nits. 2002-01-19 03:08:12 +00:00
wiz
7986ed946b Whitespace nits. 2002-01-19 03:07:54 +00:00
wiz
1a73e0f493 Whitespace and punctuation nits. 2002-01-19 03:07:33 +00:00