Commit Graph

5713 Commits

Author SHA1 Message Date
enami
ecc71da821 Add missing -F flag and -I flag in usage. Sort the order to match
manpage.
2011-12-02 04:05:20 +00:00
christos
6d19ec83d5 put the error check in the conditional where it belongs. 2011-12-02 03:04:11 +00:00
wiz
1b8846959e Remove trailing whitespace. 2011-12-01 23:14:06 +00:00
christos
7bef7412af Add a flag to support writing overlapping partitions and explain why. 2011-12-01 22:24:29 +00:00
ahoka
dfffc92f05 add known bugs
fix license (copypaste)
2011-11-29 13:27:50 +00:00
tls
aae64c95c0 Make the rndsave structure public -- the kernel will learn to read it
and sysinst may learn to write it (since, on some systems, most of
the keyboard input they ever get happens to be during install).  Fix a
couple of minor problems with the random_seed rc script addition.
2011-11-26 01:17:17 +00:00
wiz
3184ff8634 Add RCS Id, sort sections, sort SEE ALSO, use more markup.
XXX: is the license correct? it is for jmmv.
2011-11-24 16:20:35 +00:00
ahoka
ccfcc4b31e Import mount_chfs for CHFS. 2011-11-24 15:54:54 +00:00
wiz
69d02ecf2f Sort option descriptions, bump date for previous. 2011-11-23 12:15:30 +00:00
tls
4924aa205a Load entropy at system boot (only works at securelevel < 1); save
at system shutdown.  Disable with random_seed=NO in rc.conf if desired.

Goes to some trouble to never load or save to network filesystems.

Entropy should really be loaded by the boot loader but I am still
sorting out how to pass it to the kernel.
2011-11-23 10:47:48 +00:00
njoly
35d9543121 Fix title and xrefs. 2011-11-21 08:23:20 +00:00
agc
38a27f5af8 simplify code by removing a useless "#define STATIC static" in both debug
and normal usage, and all of its uses.
2011-11-20 01:23:57 +00:00
agc
76ad6f22c6 give the correct count of arguments to the sub-functions 2011-11-20 01:14:17 +00:00
joerg
549f044e13 Use __dead 2011-11-17 16:20:47 +00:00
riz
262c7a9290 Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no.  Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.
2011-11-15 16:50:43 +00:00
christos
29c49ee745 use getfstypename 2011-11-13 22:04:51 +00:00
gdt
c9bfbf1142 Move RTF_ANNOUNCE flag so that it no longer conflicts with RTF_PROTO2.
RTF_ANNOUNCE was defined as RTF_PROTO2.  The flag is used to indicated
that host should act as a proxy for a link level arp or ndp request.
(If RTF_PROTO2 is used as an experimental flag (as advertised),
various problems can occur.)

This commit provides a first-class definition with its own bit for
RTF_ANNOUNCE, removes the old aliasing definitions, and adds support
for the new RTF_ANNOUNCE flag to netstat(8) and route(8).,

Also, remove unused RTF_ flags that collide with RTF_PROTO1:
  netinet/icmp6.h defined RTF_PROBEMTU as RTF_PROTO1
  netinet/if_inarp.h defined RTF_USETRAILERS as RTF_PROTO1
  (Neither of these flags are used anywhere.  Both have been removed
  to reduce chances of collision with RTF_PROTO1.)

Figuring this out and the diff are the work of Beverly Schwartz of
BBN.

(Passed release build, boot in VM, with no apparently related atf
failures.)

Approved for Public Release, Distribution Unlimited
This material is based upon work supported by the Defense Advanced
Research Projects Agency and Space and Naval Warfare Systems Center,
Pacific, under Contract No. N66001-09-C-2073.
2011-11-11 15:09:32 +00:00
wiz
7b2c1e970a Add an EXAMPLE section showing how to add a swap file system using gpt. Bump date. 2011-11-11 13:26:45 +00:00
jakllsch
b052e03160 Constify structure pointed to by getataparams() return value. 2011-10-31 15:26:11 +00:00
jakllsch
bfe1863ea2 Remove write-only variable. 2011-10-31 14:50:10 +00:00
jakllsch
58fe39198a Wrap or shorten lines longer than 80 columns. 2011-10-31 14:44:07 +00:00
christos
1309a94f0a remove some lint 2011-10-30 18:40:06 +00:00
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