Commit Graph

3733 Commits

Author SHA1 Message Date
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
mycroft 82f913eae9 Combine the listing of enabled/disabled features with the general listing of
features.
Add an "smart error-log" command to display the SMART error-log.
Add an "offline" command to run offline selftests.
2004-10-08 17:19:50 +00:00
dbj a10669f5c2 if debug, print found/expected block & inode counts when incorrect 2004-10-08 16:42:55 +00:00
martin bafafd830d Use PRI* format strings to print 64 bit data types. 2004-09-28 10:01:42 +00:00
wiz 76b7f3faf9 Improve formatting. 2004-09-25 12:44:25 +00:00
snj b7fd6fcc52 Bump date for last. 2004-09-25 04:00:49 +00:00
thorpej ef92b0de59 Try the DIOCGWEDGEINFO ioctl first. If that succeeds (i.e. the block
device is a wedge), use the partition type string from the dkwedge_info
structure to get the file system type.
2004-09-25 03:32:52 +00:00
thorpej 0e37eeed2c Add commands to create, delete, and query the configuration of wedges. 2004-09-25 03:31:35 +00:00
thorpej 6e82649d8e Change the default volume label from "NO NAME" to "NO_NAME". Note the
default in the manual page.
2004-09-22 23:52:38 +00:00
thorpej 3af81aff5a Default the OEM ID to "NetBSD" rather than "BSD 4.4". (Geez, did 4.4BSD
even have a newfs_msdos command?)
2004-09-22 23:46:38 +00:00
thorpej d06c5d9fc6 Correct some examples, and note when it was first included in NetBSD,
not FreeBSD.
2004-09-22 23:40:49 +00:00