Commit Graph

146574 Commits

Author SHA1 Message Date
wiz 7f1b30bfd9 Sort. 2006-04-24 22:04:12 +00:00
wiz 61152e3f56 Document more explicitly that -c takes an optional file argument. 2006-04-24 22:00:43 +00:00
agc 000a68021a + Some minor formatting cleanup in the header files.
+ Properly pad the names with spaces (with thanks to Bill Studenmund)
+ Use the official T10 vendor name, "NetBSD".
+ Minor cleanup in the INQUIRY command
+ Rather than just punting on the REPORT LUNs SCSI command, emulate it
properly.  This change makes the target work with the Solaris initiator:

	AVAILABLE DISK SELECTIONS:
	       0. c1d0 <DEFAULT cyl 29728 alt 2 hd 64 sec 63>
		  /pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
	       1. c2t5d0 <DEFAULT cyl 97 alt 2 hd 64 sec 32>
		  /iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget00001,0
	Specify disk (enter its number): 1
2006-04-24 21:59:03 +00:00
wiz 20862d8c44 Bump date for previous. 2006-04-24 21:54:37 +00:00
wiz 7827f466ab Mark up functions with .Fn; new sentence, new line. 2006-04-24 21:53:48 +00:00
jld 97297f3775 Make ccdioctl work without a process context; fixes xbdback-on-ccd.
Run by tech-kern on 2006-04-24; with approval and advice from wrstuden@.
2006-04-24 21:35:57 +00:00
dsl f62f858cc2 Coverty CID 1643: free(ino_buf) on error return.
(There is only 1 call to print_inodes(), so it doesn't really matter...)
2006-04-24 21:20:44 +00:00
dsl 666b712c4d Coverty CID 1693: free() buffer used reading fs info.
(I think this leaks 1 buffer per LFS segment being dumped!)
2006-04-24 21:14:59 +00:00
hubertf 0b4add3077 Allow reading the checksum list from stdin if no file is given with -c.
This allows verifying the checksums e.g. after downloading a NetBSD
release:
		cat BSDSUM CKSUM MD5 SHA512 SYSVSUM | cksum -c
2006-04-24 21:07:43 +00:00
liamjfoy 14a07a0706 - add a missing ;
- use 'size' instead of 'nsize', makes more sense

ok christos@
2006-04-24 20:46:23 +00:00
jld 8293fbeb02 \*[Am] for an ampersand, not *[Am]. 2006-04-24 20:27:34 +00:00
christos 1ce9f4326d Coverity CID 3032: Prevent double free: Next to the call of page_more()
there is a comment saying /* does fclose */, but the next line calls
fclose(fp);. Go figure.
2006-04-24 20:08:54 +00:00
christos 6ce96df0b7 Coverity CID 2993: Fix memory leak. 2006-04-24 20:00:31 +00:00
christos 8a8f572953 Coverity CID 2994: Don't leak memory in the perm case. 2006-04-24 19:58:20 +00:00
christos f2ec0dc9a2 Coverity CID 2995: Fix memory leak. 2006-04-24 19:53:08 +00:00
hubertf 1e8e9dee9c Try guessing hash types. Prefix output with hash type,
the output format was inspired by Linux & OpenBSD.

This now allows doing something like:

miyu% ( md4 *.c ; md5 *.c ; sha1 *.c ) > /tmp/x
miyu% md5 -c /tmp/x
miyu% cksum -c /tmp/x
miyu% echo $?
0
miyu% date >test.c
miyu% cksum -c /tmp/x
(MD4) test.c: FAILED
(MD5) test.c: FAILED
(SHA1) test.c: FAILED
miyu% echo $?
1
2006-04-24 19:41:41 +00:00
snj a640fe8c43 It's "its." 2006-04-24 19:00:29 +00:00
drochner f782e99583 There is no point in using the internal sigprocmask() to initialize
the process' signal mask -- this ends up in a no-op.
Use the system call directly instead.
(This might be done in pthread_sig.c, but for now I wanted a simple
patch which is easily tested and pulled up.)
2006-04-24 18:39:36 +00:00
garbled 8937ee204d Make this work on 7024 and 7025 models by not repeating the base address
of the pci bus when we are a pci bus on a ppb.
2006-04-24 18:10:57 +00:00
snj bf5ceaae16 It's "its." 2006-04-24 18:00:53 +00:00
drochner cc76bf4bcf add an #include path for sigcompat.c to get at <sys/compat>; this
file is a mix of official and compat functions, and until this is
sorted out the extra path is needed to build a "legacy free" libc
2006-04-24 17:15:06 +00:00
jmcneill e04eaffce1 Add vesafb man page. 2006-04-24 14:35:15 +00:00
jmcneill ba3a7d2db2 Attach vesafb driver if available. 2006-04-24 14:15:47 +00:00
jmcneill 14b1ff949d Stub vesafb_cnattach. 2006-04-24 14:14:38 +00:00
jmcneill 1ced2c897c Add splash, vcons, vesabios, vesafb. 2006-04-24 14:12:21 +00:00
dillo 39602e007e Add pkg_summary.5. 2006-04-24 13:38:00 +00:00
dillo 845f7524ad Add support for creating summary file containing all information
about a package repository needed by package managing software.
This allows better use of remote binary package repositories.

Discussed on tech-pkg.
2006-04-24 13:36:22 +00:00
jld c861d33e38 Make yes exit if a write fails (due to, e.g., EPIPE or revocation).
With advice from rillig@; discussed on tech-userlevel on 2005-11-18.
2006-04-24 05:24:03 +00:00
rittera a7d881767a replaced all device_printf()'s in compat/ndis/ with printf() 2006-04-24 00:23:41 +00:00
rittera a96342da61 a few cosmetic changes to if_ndisvar.h 2006-04-24 00:10:17 +00:00
rittera 3441c2e772 Replaced all the device_printf's in if_ndis_pci.c with aprint_error() 2006-04-24 00:01:29 +00:00
hubertf 831546110a When switching the /etc/etc.current symlink, make it relative to /etc,
not absolute.

This affects an update with sysinst, which will try to look at
/targetroot/etc/fstab, which points to /etc/etc.whatever, which is
not there during the upgrade, and results in all (/targetroot)/etc
files getting nuked!
2006-04-23 23:26:26 +00:00
hubertf 6e0ce16052 Call the partition type 'type' instead of 'kind'.
Less confusing, and in sync with common terminology.

Found while walking someone through the installation on IRCnet #NetBSD...
2006-04-23 23:09:48 +00:00
rittera 03f0a1ac3d Replaced all the device_printf's in if_ndis.c with aprint_error() or
aprint_normal().  Now I just need to go through and do this for the rest of the files.
2006-04-23 22:53:43 +00:00
rittera bad11dd7e0 Replaced the device_printf's in ndis_ticktask() with printf(). For some reason
a uvm fault was occouring here.  I'm still looking in to figuring out why, but
this fixes the problem for now.
2006-04-23 19:30:19 +00:00
wiz 975e7796db Improve description of msg_name and msg_namelen fields.
Addresses PR 33330 by Nils O. Selaasdal.
Use more markup.
2006-04-23 19:06:59 +00:00
elad 7cc919d464 fix typo. pr 33344. forwarded to paulus at samba dot org. 2006-04-23 19:01:08 +00:00
wiz f255a1f958 A fix for HTML output; punctuation nits. 2006-04-23 17:45:04 +00:00
wiz 18cc3581fb New sentence, new line. Some fixes for HTML output.
Add RCS Id. Other minor fixes.
2006-04-23 17:40:08 +00:00
christos e41fa8a52e Complete the FREE -> free transition and add more NULL checks for malloc
returns. Although these cannot happen because M_WAITOK, the rest of the
code does them already, so this is good for consistency. From Mindaugas
2006-04-23 16:57:22 +00:00
wiz 66784c2d94 Add -T to SYNOPSIS. 2006-04-23 16:51:56 +00:00
wiz c658b10ae0 Fix typo. 2006-04-23 16:51:18 +00:00
wiz bffaecaf07 Bump date for previous. Remove trailing comma in SEE ALSO. 2006-04-23 16:50:25 +00:00
wiz 94aa5cae8a New sentence, new line. 2006-04-23 16:48:46 +00:00
hubertf 944a4820a3 Document -w, too. 2006-04-23 16:48:02 +00:00
wiz abc202e87e No abbreviations in Dd arguments. 2006-04-23 16:46:32 +00:00
wiz e29be3b11f Some serial commas. 2006-04-23 16:44:00 +00:00
wiz bb197ac232 We are not NeyBSD. 2006-04-23 16:43:10 +00:00
hubertf f9e91b57ed Add a switch "-c file" to verify a list of checksums generated by the
cksum program and stored in file against files on disk.  E.g. first
run "md5 *.tgz >MD5" to generate a list of MD5 checksums in MD5, then
use the following command to verify them use "md5 -c MD5"

Inspired by Linux' md5sum,
called for by Jukka Salmi <j+nbsd@2006.salmi.ch>on netbsd-help@,
reviewed by rui@.
2006-04-23 16:40:16 +00:00
rpaulo 3fe7a640a3 Blame me for postfix too. 2006-04-23 15:33:10 +00:00