Commit Graph

3743 Commits

Author SHA1 Message Date
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
dbj
0f5aab3826 always print warning and return non-zero exit when there are unresolved inconsistencies. 2004-10-11 15:24:09 +00:00
wiz
67bfa4e06f Bump date for "offline" description. 2004-10-10 09:45:10 +00:00
ragge
801400d3c7 Cast to (long long int) to make last change compile on amd64. 2004-10-09 20:08:44 +00:00
dsainty
ed00687c42 Comment typo: unecessary->unnecessary 2004-10-09 02:51:19 +00:00
soren
d353df2fed Add offline command to usage() and man page. 2004-10-08 18:53:42 +00:00
dbj
43cd78416c when allocating inodes, such as for the lost+found directory,
extend the inostat array if needed.  Otherwise, inoinfo() will
return the static "unallocated" inode template, which was
getting improperly modified.
Before this fix, any time the lost+found directory got created,
fsck would set all of the inode/directory counts wrong since
suddenly unallocated inodes would turn into directory inodes
2004-10-08 17:33:52 +00:00
dbj
6ca6b809d3 have allocdir fail cleanly when allocino fails 2004-10-08 17:29:29 +00:00