Commit Graph

3850 Commits

Author SHA1 Message Date
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
wiz
da2ab5ca28 Sort options in usage. 2005-01-11 11:30:19 +00:00
wiz
5bd1d870f9 Sort options. Fix a typo. Bump date for -e/-t. 2005-01-11 11:29:22 +00:00
wiz
36cdbd4840 Bump date for recent changes. 2005-01-11 09:39:12 +00:00
lukem
04eb493802 support RESCUEDIR (for mount_nfs and umount) 2005-01-10 20:53:48 +00:00
lukem
33349ca906 Revert previous; init(8) still needs special case handling for RESCUEDIR
otherwise the path to mount_mfs(8) and the standard $PATH will be wrong...
2005-01-10 10:59:49 +00:00
lukem
7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
lukem
8929bce61d remove unnecessary comment 2005-01-10 02:53:39 +00:00
smb
ddd2ade252 Add a software watchdog timer facility. Because this slightly
changes the "tickle" model of wdogctl(8), it was modified as well;
while I was in there, I cleaned up the argument parsing.

The code was reviewed by simonb@.
2005-01-09 22:51:32 +00:00
fredb
57aad81b8e Make a judicious choice as to whether to apply the permissions
of the root inode of the dump to the current working directory,
rather than interrogate the user. Closes PR bin/24690. Reviewed
by bouyer, tron, imp.
2005-01-08 14:30:39 +00:00
wiz
38b227d18c New sentence, new line. Simplify macro usage. 2005-01-07 02:13:13 +00:00
ginsbach
661eb28d4c Add command to read the defect data from a direct access device. 2005-01-07 02:08:34 +00:00
wiz
709d468844 Remove unnecessary dot, and bump date for new SEE ALSO section. 2005-01-06 15:28:13 +00:00
hubertf
149b104c3b Add SEE ALSO section pointing at the scripts to create signatures
XXX they should be installed as veriexec_gen_* IMHO,
XXX not dwell in /usr/share/examples
2005-01-06 00:33:54 +00:00
elric
0664f91dd8 s/milliseconds/microseconds/ in comments and a variable because it is
misleading to say one when we've been meaning the other.
2005-01-04 04:55:18 +00:00
elric
1b0f3868f6 Fix comment. We're using microseconds not milliseconds. 2005-01-04 04:52:50 +00:00
elric
d28b037b6f Fix bits vs. bytes problem in call to calibration routine. 2005-01-04 04:50:26 +00:00
christos
4eb7659c2c PR/28782: OBATA Akio: Document that kern.rtc_offset is writable. 2004-12-26 16:57:09 +00:00
dyoung
9f2359d605 ifconfig -v prints 802.11 statistics. ifconfig -v prints and zeroes
802.11 statistics.
2004-12-20 23:04:55 +00:00
hubertf
0f0617751e Add comment that there are strings attached to the fish. Beware!
(Source: http://www.livejournal.com/community/unixhistory/1808.html)
2004-12-20 10:28:47 +00:00
atatat
2971543eb5 Pass dynamic buffer pointer to display_string(), not static buffer
pointer.  Causes...misfunction if the kernel says the buffer needs to
be too much larger.
2004-12-17 05:03:03 +00:00
snj
654ad24a7f New sentence, new line, Xref fsck(8), use Dq. 2004-12-08 01:22:00 +00:00
jdolecek
19d91c00f9 document reload option, description shamelessly stolen off ffs_reload()
comment
2004-12-07 21:38:58 +00:00
christos
43b36b3a81 Add a missing = 2004-11-27 05:52:16 +00:00
wiz
055a617415 Remove "CFLAGS+=-g". 2004-11-25 14:10:28 +00:00
christos
f11900e378 Add arguments for ptyfs: slave tty group and mode, so we don't have to
hard-code them in the kernel.
2004-11-24 22:13:08 +00:00
wiz
7bed7b9328 New sentence, new line. 2004-11-22 12:22:45 +00:00
jdolecek
c22d8df64f update for UTF-8 encoding of Unicode file names on Joliet filesystems 2004-11-21 23:06:23 +00:00
jdolecek
a9ebca7170 add vfs.cd9660.utf8_joliet, and couple other vfs.* entries while here
bump date and add TNF copyright
2004-11-21 22:18:10 +00:00
jmmv
95579e29b6 Minor grammar improvements. 2004-11-21 09:09:46 +00:00
wiz
7913b43af5 Fix typo in error message, reported by Nicolas Joly in PR 28347. 2004-11-18 12:00:18 +00:00
hubertf
33c4eac6f2 Remove (wrong?) default for minfree, xref newfs.8 instead.
Suggested by Ignatios.
2004-11-18 00:11:48 +00:00
fvdl
08d19d088d * don't swap the WDSMART_CYL value, it isn't needed
* swap the 16- and 32 bit fields of the SMART structures (where used)

Makes SMART commands work on big-endian systems.
2004-11-17 15:40:50 +00:00
itojun
b95181fc9b NI_WITHSCOPEID was not picked up by IETF standardization process. 2004-11-16 05:59:32 +00:00
christos
fdad6cabc9 Use the 1st element's size as the argument to bsearch. 2004-11-15 21:59:23 +00:00
he
5cdd904c9b Add a cast to unsigned char when using a ctype function/macro. 2004-11-15 12:21:29 +00:00
christos
88825a8a55 Use ptype table from <sys/bootblock.h> 2004-11-12 16:57:46 +00:00
hubertf
531272da6c Translate an error message from C to english.
Before:	disklabel: warning, partition g: offset % cylinder-size != 0
After:	disklabel: warning, partition g: not starting on cylinder boundary
2004-11-12 01:00:40 +00:00
dsl
9d819ed558 Functions for converting media types to/from text are now in libutil. 2004-11-11 20:37:18 +00:00
jdolecek
e8950fdc08 add -I${NETBSDSRCDIR}/sys into CPPFLAGS, so that this picks up necessary
kernel includes without need to have them installed
2004-11-11 19:10:16 +00:00
christos
d7f4671483 Add a license; thanks manu. 2004-11-11 13:42:55 +00:00
wiz
8d811eccec Nit fixes. 2004-11-11 13:20:42 +00:00
yamt
096fec04a9 move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.
before:
	sbin/pfctl
	usr.sbin/authpf
	usr.sbin/spamdb
	libexec/ftp-proxy
	libexec/spamd
	libexec/spamd-setup
	libexec/spamlogd
after:
	usr.sbin/pf/pfctl
	usr.sbin/pf/authpf
	usr.sbin/pf/spamdb
	usr.sbin/pf/ftp-proxy
	usr.sbin/pf/spamd
	usr.sbin/pf/spamd-setup
	usr.sbin/pf/spamlogd
2004-11-11 11:54:51 +00:00
christos
0edc1994f6 add mount_ptyfs 2004-11-11 01:55:27 +00:00
christos
1bd4f21d5a Add userland glue for ptyfs. 2004-11-11 01:42:17 +00:00
christos
88ddc79ebd Add 0xBF for Solaris. From Larry Lee <lclee at west.sun.com> 2004-11-10 02:39:48 +00:00
dsl
1869f0e146 Add (unsigned char) cast to ctype functions 2004-11-05 21:56:01 +00:00
dsl
404e35b651 Add (unsigned char) cast to ctype function, reworked to fit on one line 2004-10-29 19:32:22 +00:00
dsl
91d3fe12d9 Add (unsigned char) cast to ctype function 2004-10-29 19:15:20 +00:00
dsl
9ab983c04a Add (unsigned char) cast to ctype function 2004-10-29 19:04:39 +00:00
dsl
09993d7a4e Rewrite getdisklabelpart() to avoid problems with isdigit(*ch_ptr) and
an incorrect check for a (probably impossible) empty string.
Add comments to avoid confusion...
2004-10-29 19:02:17 +00:00
dsl
e6bc82d904 Add (unsigned char) cast to ctype function
Fix check for device name ending in [0-9a-h] (strchr(dev, 0) doesn't ever
return NULL - which is fortunate because the () were wrong as well!)
2004-10-29 17:37:30 +00:00
dsl
4b6e82d128 Add (unsigned char) cast to isdigit call 2004-10-28 20:17:19 +00:00
dsl
57030cf931 More isdigit() calls that need (unsigned char) cast 2004-10-28 20:10:29 +00:00
dsl
750ce43a65 Add (unsigned char) to isdigit() call 2004-10-28 19:59:09 +00:00
dsl
25b17683bd Add (unsigned char) to isdigit() calls 2004-10-28 19:48:41 +00:00
dsl
7e4021e835 Add (unsigned char) to isdigit() 2004-10-28 19:43:29 +00:00
dsl
28793e3d2c Add (unsigned char) to isdidgit call 2004-10-28 19:40:47 +00:00
peter
0d5d8e993a Fix a typo in a comment. 2004-10-27 19:36:31 +00:00
oster
42abd8f7a0 Cleanup a bit by nuking RF_Malloc macro, and add in some error
checking for the case where we can't allocate memory.  (Not like
anyone uses this part of the code anyway.)
2004-10-26 22:46:27 +00:00
oster
fa730392bc Strip off trailing \n's and spaces from configuration file lines.
Makes RAIDframe more forgiving if you accidentally add a space after
things like device names.  Fixed at long last after a reminder over
the weekend.
2004-10-26 19:52:21 +00:00
oster
2b7fd0220d How about we use the 'len' parameter to rf_get_next_nonblank_line()
instead of assuming all buffers are 256 bytes.
2004-10-26 19:23:19 +00:00
wiz
2f2f733ec3 Sort options. 2004-10-24 17:01:22 +00:00
wiz
3d110d313a Sort options in usage. 2004-10-24 17:01:07 +00:00
snj
24641424de Kill trailing whitespace introduced in the last revision. 2004-10-23 00:41:08 +00:00
snj
e85784770d Bump date for last, fix a spelling error, sprinkle some Dq, change
some wording.
2004-10-23 00:39:18 +00:00
bouyer
0a0bd752e8 Add an option (-M) to write a mtree specification (which needs to be passed
through sort before being feed to mtree) with file flags, instead of restoring
file flags at the same time as other attributes. Fix various issue with
schg, uchg, sappnd or uappnd flags which cause restore to fail in some case.
Discussed on tech-userlevel:
http://mail-index.netbsd.org/tech-userlevel/2004/10/12/0000.html
2004-10-22 22:38:38 +00:00
dsainty
1dfaf4a3ca Rearrange the option formatting to be both prettier and more complete 2004-10-21 10:13:00 +00:00
jdolecek
0154132fed constify handlers[] 2004-10-17 11:04:39 +00:00
snj
32eca9407f New sentence, new line; use .Dq instead of ``''. 2004-10-16 05:44:59 +00:00
dsainty
9a582784d5 Bump date for -n description 2004-10-16 04:38:53 +00:00
dsainty
d01162a3bc Added -n option, which tests for a present core but doesn't write it
to disk or clear it (does 'nothing').

http://mail-index.netbsd.org/tech-userlevel/2004/10/09/0000.html
2004-10-16 04:29:27 +00:00
dsainty
4b46224291 Added -n option, which tests for a present core but doesn't write it
to disk or clear it (does 'nothing').

http://mail-index.netbsd.org/tech-userlevel/2004/10/09/0000.html
2004-10-16 03:48:15 +00:00
salo
61948d78ec Correct the omission in 're-enter' verification method addition in EXAMPLES. 2004-10-15 15:25:14 +00:00
daniel
84a34aedec Add vm.bufcache, vm.bufmem, vm.bufmem_lowater, m.bufmem_hiwater (PR misc/27247, misc/27233). 2004-10-15 08:47:16 +00:00
gavan
0560d8b947 Initial import of iyonix port.
The Iyonix is a desktop machine from Castle Technology, based on a 600MHz
XScale[tm] 80321 processor.

* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible.
* Currently boots multiuser with a serial console.
* Device support is not yet complete.

With help from abs.
2004-10-13 23:28:34 +00:00
dan
603344819a be explicit about the perms of mfs /dev 2004-10-12 10:08:09 +00:00
dsl
eef12d4ee1 De __P 2004-10-11 20:13:37 +00:00
dsl
edfa669ef6 Remove all the caddr_t - mainly casts of the 3rd arg to ioctl() 2004-10-11 17:13:55 +00:00