christos
f772004800
cleanup some messy casts and type violations.
...
XXX: There is one piece of code I marked that does not make sense.
Someone should take a look at it.
2011-10-29 16:54:49 +00:00
jakllsch
34ce9c94ba
use C99 fixed-width integer types
2011-10-24 19:15:42 +00:00
jakllsch
fbc01b29da
constify
2011-10-24 19:13:03 +00:00
jakllsch
44a52e4ad8
change lines containing only whitespace to empty lines,
...
remove trailing whitespace
2011-10-24 15:56:17 +00:00
christos
2360984d25
add printflike and fix the format error.
2011-10-23 23:41:56 +00:00
agc
75a17f3ce7
Start to move the in-kernel iSCSI initiator, kindly contributed to the
...
NetBSD Foundation by Wasabi Systems, from
othersrc/external/bsd/iscsi/{iscsictl,iscsid}
to
src/sbin/{iscsictl,iscsid}
2011-10-23 21:11:23 +00:00
dyoung
91e31ba9fe
Don't print the silly header, "Properties for device `xxx0':", before
...
the device properties if the -n option was given.
2011-10-19 22:13:46 +00:00
christos
f42bf26590
PR/45456: Tetsuya Isaki: Don't mix stdio and write.
2011-10-12 16:45:37 +00:00
christos
daed4f8c46
fix the date.
2011-10-12 16:41:47 +00:00
martin
dfa74ee736
Two small fixes from David H. Gutteridge in PR bin/45454.
2011-10-12 10:33:14 +00:00
joerg
f843de8680
Simplify.
2011-10-07 09:56:15 +00:00
dholland
adcc6f36b6
Fix thinko about halt vs. poweroff; from Moritz Wilhelmy in PR 45141.
2011-10-04 07:25:34 +00:00
pgoyette
0b5ef36c08
Fix typo
2011-10-01 02:55:00 +00:00
mrg
1ca3e5d8c0
print the serial number as an unsigned number.
2011-09-28 10:29:41 +00:00
wiz
82c488769a
Minimally document gpt recover. Bump date.
2011-09-19 10:40:35 +00:00
plunky
2b8aaed8cd
NULL does not need a cast, here
2011-09-16 16:13:16 +00:00
joerg
bd80b77cd9
Use __dead. Save a pointer.
2011-09-16 15:42:56 +00:00
wiz
369bd71deb
Consistently spell MS-DOS with a hyphen. From Snader_LB.
2011-09-15 09:44:59 +00:00
christos
42d1e41665
print the missing flag if missing argument...
2011-09-13 19:55:28 +00:00
wiz
c94449f6a8
Fix typo.
2011-09-13 08:54:11 +00:00
christos
8b1d441333
document that dumpdir is now optional
2011-09-12 21:22:27 +00:00
christos
7249eb3f75
- always print corrupted dump messages instead of silently failing
...
- don't require /var/crash to be specified, default to it
- determine and print the kernel name
- print all messages to syslog
2011-09-12 21:22:07 +00:00
christos
bdfab20ffb
print summary stats.
2011-09-11 17:18:52 +00:00
wiz
72a60d8cd5
Another option order fix.
2011-09-10 20:47:33 +00:00
wiz
51f435b8eb
Sort options and descriptions in standard order.
...
Remove unecessary Bk/Ek in SYNOPSIS.
2011-09-10 20:46:43 +00:00
christos
e8ad09e0b7
PR/45257: Instead of passing a 32bit sec and 32 bit usec timestamp in little
...
endian format by default, pass a struct timespec in native host format. Add
-C flag to produce a compatible timestamp like before.
2011-09-10 20:04:28 +00:00
riz
b146b6f7a7
Build and install the skeleton manpage for devpubd - it's better than
...
nothing.
2011-09-06 21:30:12 +00:00
christos
9bf741a041
put back the byte swapping code, and remove the double byte swapping.
2011-08-31 22:27:26 +00:00
riz
e14f406cd9
Remove erroneous seq=ntohs(seq) introduced in rev. 1.74, which caused
...
icmp_seq numbers to increment by 256 instead of 1 on LE platforms.
2011-08-31 22:05:57 +00:00
bouyer
a47e2eb758
Add getlabelusesmbr(), as proposed in
...
http://mail-index.netbsd.org/tech-userlevel/2011/08/25/msg005404.html
This is used by disk tools such as disklabel(8) to dynamically decide is
the undelyling platform uses a disklabel-in-mbr-partition or not
(instead of using a compile-time list of ports).
getlabelusesmbr() reads the sysctl kern.labelusesmbr, takes its value from the
machdep #define LABELUSESMBR.
For evbmips, make LABELUSESMBR 1 if the platform uses pmon
as bootloader, and 0 (the previous value) otherwise.
2011-08-30 12:39:49 +00:00
bouyer
d8593e7a9a
PR bin/45299: print FBMASK not FFMASK when lfs_fbmask is incorrect.
2011-08-29 18:43:20 +00:00
joerg
baa8e84b6f
Use __dead
2011-08-29 14:34:58 +00:00
joerg
693655118a
static + __dead
2011-08-29 14:29:21 +00:00
wiz
5febc69036
Add minimal devpubd man page, not hooked into the build yet.
...
XXX: someone should write drvctl(4)
2011-08-29 14:21:50 +00:00
jruoho
7fc7b88321
Remove a comma. From "Snader_LB" on freenode.
2011-08-29 11:47:46 +00:00
mrg
f385d8f556
add the device publish daemon, written by jmcneill@.
...
listens on drvctl for new devices and invokes MAKEDEV for them.
missing:
- manual page
- rc.d script
- more testing
but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing. you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)
thanks jared!
2011-08-29 11:38:48 +00:00
wiz
f91d202feb
Move a sentence to where it makes more sense.
2011-08-28 21:25:11 +00:00
wiz
6964284f70
New sentence, new line.
2011-08-28 17:15:16 +00:00
gson
d2c5449570
fix the sparc build
2011-08-28 15:46:26 +00:00
christos
694c2250cf
make it compile with SMALLPROG
2011-08-28 10:13:03 +00:00
mbalmer
eba5829387
Remove duplicate static.
2011-08-28 08:43:02 +00:00
christos
4d53e32690
one static is enough, otherwise you risk zapping yourself.
2011-08-27 20:49:03 +00:00
joerg
e837071dcc
Mark yyerror as static and dead.
2011-08-27 19:01:34 +00:00
joerg
b79356001b
static + __dead
2011-08-27 18:57:50 +00:00
joerg
8d4273fcb4
__dead + kill main prototype.
2011-08-27 18:55:58 +00:00
joerg
bab034bac4
static + __dead
2011-08-27 18:55:21 +00:00
joerg
8bdebf9d52
statc + __dead
2011-08-27 18:54:39 +00:00
joerg
fdbae3b9b7
static + const + __dead
2011-08-27 18:48:59 +00:00
joerg
eccb2789c7
static + __dead
2011-08-27 18:44:44 +00:00
joerg
3fedada239
static + __dead + G/C pathmtu
2011-08-27 18:43:24 +00:00