Commit Graph

5731 Commits

Author SHA1 Message Date
mbalmer 28c55e99d7 When ifconfig is invoked without any arguments, display the list of
all network interfaces (equivalent to ifconfig -a), instead of displaying
the usage.  (This is consistent with the behaviour on FreeBSD and OpenBSD.)
2012-01-28 15:01:44 +00:00
perseant 76c43fd1cf Use an even smaller segment size when creating a very small filesystem.
This allows the lfs_renamerace_dirs case of the t_renamerace test to
fail correctly, rather than with a bogus "file system full" error as it
has since rev 1.135 of sys/ufs/lfs/lfs.h.
2012-01-17 16:27:19 +00:00
wiz bca510b70c Add -n to usage. 2012-01-17 08:22:09 +00:00
pgoyette 440a886090 Enhance drvctl -p processing to handle new autoconfig info in property
dictionaries.
2012-01-16 19:43:50 +00:00
christos 7f5fd4a5cd PR/45842: Henning Petersen: compare fgets with NULL not 0 2012-01-16 17:38:16 +00:00
perseant 4ab567960c Correct fragment extension calculation in pass6, to avoid putting
negative block counts on inodes during roll-forward.
2012-01-05 16:18:00 +00:00
drochner 8fd6dadaf8 include <netipsec/ipsec.h> rather than <netinet6/ipsec.h> from userland
where possible, for consistency and compatibility to FreeBSD
(exception: KAME specific statistics gathering in netstat(1) and systat(1))
2012-01-04 16:09:40 +00:00
drochner 3712f81ced -consistently use "char *" for the compiled policy buffer in the
ipsec_*_policy() functions, as it was documented and used by clients
-remove "ipsec_policy_t" which was undocumented and only present
 in the KAME version of the ipsec.h header
-misc cleanup of historical artefacts, and to remove unnecessary
 differences between KAME ans FAST_IPSEC
2012-01-04 15:55:35 +00:00
wiz 68693617f8 Remove trailing whitespace. 2012-01-04 10:57:40 +00:00
riz 99370de066 According to most other OSes and documentation sources, an MBR has
one "extended" partition and the partitions inside that are "logical"
partitions.  Make fdisk(8) man page follow suit.

Patch from Julian Fagir in PR#45695.
2011-12-31 22:18:56 +00:00
christos b8425b06fb PR/45759: Khanh-Dang Nguyen Thu Lam: slattach(8) is not compatible with
pseudo-terminals. Fixed by ignoring the error for the DTR ioctl.
2011-12-30 03:19:36 +00:00
christos 76898fae15 Off by one and clarity improvement from Christian Biere 2011-12-26 00:20:43 +00:00
christos 9feffc5f5a PR/45661: Henning Petersen: Overlapping buffer in route.c. 2011-12-24 23:48:17 +00:00
riastradh dade315727 Fix error reporting in puffs_framev_enqueue_waitevent and callers.
ok christos
2011-12-19 15:36:26 +00:00
apb d560323cc4 Make "rndctl -L" overwrite the file with zeros, not with the
same data that was just read from the file.
2011-12-17 13:18:20 +00:00
phx 01173747fc Amiga wscons/Xorg support, first phase.
Implemented wscons for CV64 and CV64/3D. Other graphics cards drivers are
prepared for it, but will not be attempted before Xorg is not running.
The wscons support is disabled by default. A GENERIC kernel should behave
like always. Use WSCONS to try out a kernel with wscons support.
Done by rkujawa@ and phx@.
2011-12-15 14:25:12 +00:00
jmcneill 104b886e37 exit 0 on success 2011-12-04 13:01:54 +00:00
christos 765bd39696 Also ignore out of space conditions for -I so we can create overlapping
partitions on a full disk. Document and add it to the options.
2011-12-02 15:21:15 +00:00
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