Commit Graph

5012 Commits

Author SHA1 Message Date
obrien
a0569a49ba MFC: consume kld_isloaded(3). 2007-09-21 17:25:03 +00:00
ken
b19aa20b61 MFC:
camcontrol/Makefile:	rev 1.17
camcontrol.8:		rev 1.44
camcontrol.c:		rev 1.58

Add SCSI READ CAPACITY support to camcontrol.  The new 'readcap' subcommand
will automatically issue the 16 byte verison of read capacity if the device
in question is larger than 2TB.

There are also a number of output options here (last block, number of
blocks, human readable) that should meet most needs, and also aid in
scripting.
2007-09-18 01:26:28 +00:00
julian
42892c3888 MFC in revs 192-194 of the man page.
The actual code has been in for a while. (Allow tablearg to be used with 'fwd'
and allow it to take an IP address as a value).
2007-09-17 23:59:54 +00:00
danger
ad7686616e MFC Revision 1.61:
- Sweep the boot(8) man page after addition of boot.config(5).
2007-09-16 10:53:04 +00:00
jhb
a432a3d68c MFC: Expand the data structure returned by the ATA RAID status ioctl to
include detailed status on each of the backing subdisks.  A binary compat
shim is provided for the original status ioctl.

Approved by:	sos
2007-08-24 18:43:00 +00:00
thompsa
603e3c8e54 MFC
Add a bridge interface flag called PRIVATE where any private port can not
   communicate with another private port.

  1.11  src/sbin/ifconfig/ifbridge.c
  1.142 src/sbin/ifconfig/ifconfig.8
  1.102 src/sys/net/if_bridge.c
  1.23  src/sys/net/if_bridgevar.h
2007-08-06 09:11:05 +00:00
thompsa
5df0ac3d5e Sync lagg to HEAD
- Implement the Marker Protocol for lacp
 - Export the actor and partner peer info and show in ifconfig verbose
 - Compare the partner system priority when choosing the aggregator.
 - Cleanup whitespace, variable names and gc unused defines
2007-07-12 20:40:25 +00:00
remko
66a32e6850 MFC rev 1.33 mdmfs.c
-n is used by newfs to tell "do not generate a .snap directory" instead of
 specifying rotational-positions, reflect that in the command arguments.

 PR: bin/110178
 Submitted by: Alex Kozlov <spam at rm-rf dot kiev dot ua>
 Approved by: imp (mentor)

Approved by:	imp (mentor, implicit)
2007-07-07 11:22:46 +00:00
maxim
2903a43579 MFC rev. 1.103: make ipfw(8) show rules with mac/mac-type options
correctly.
MFC rev. 1.105: teach get_mac_addr_mask() to not silently accept
incorrect MAC addresses.
2007-06-10 13:59:36 +00:00
bz
4ad973ddfb MFC:
1.200 sbin/ipfw/ipfw.8, 1.104 sbin/ipfw/ipfw2.c
  1.110 sys/netinet/ip_fw.h, 1.164 sys/netinet/ip_fw2.c

  Add support for filtering on Routing Header Type 0 and
  Mobile IPv6 Routing Header Type 2 in addition to filter
  on the non-differentiated presence of any Routing Header.
2007-06-07 09:50:53 +00:00
maxim
d0887e8868 MFC rev. 1.39 fdisk.8 and rev. 1.83 fdisk.c: add -p flag -- print
a slice table in fdisk configuration file format.
2007-05-31 13:52:24 +00:00
mtm
b2c7a3ca2a MFC ver. 1.30:
date: 2007/04/19 15:41:00;  author: mtm;  state: Exp;  lines: +68 -19
o Increase the buffer to hold extra headers to 10240 bytes (the minimum
  according to RFC3542 sec. 20.1) and allocate it dynamically.
o In verbose mode, specify a warning if any control data from recvmsg(2)
  was truncated because the buffer was too small.
o When printing the extra headers make sure not to overrun the buffer
  boundaries.

PR: kern/99425
2007-05-22 22:01:44 +00:00
pav
f7bc27a8e4 MFC 1.16:
Replace incomprehensive description of -m by much clearer text from OpenBSD,
  with the exception of one word.
2007-05-19 11:32:34 +00:00
thompsa
810e7f64f6 Hook lagg(4) up to the build. 2007-05-17 01:50:46 +00:00
cvs2svn
cd5e537b6a This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2007-05-13 09:33:36 +00:00
pav
403b2f3a00 MFC 1.10, 1.11
Revise the markup, sort sections, fix some grammar bugs.
  Fix the description of "media-type".
2007-05-12 23:10:08 +00:00
julian
049302cd6a MFC 1.93 1.94.
allow table entries to store/return an IP address as a value.
2007-05-08 20:03:01 +00:00
yar
3036ea3146 MFC rev. 1.32:
Fix a typo: argv -> argvp.

  Rationale:
  We are interested in the current (last) element of the argv array
  there, not in its first element. [...]

  Also add a comment that the argv array ends up null-terminated in
  any case (it's due to the design of the for loop) as an answer to
  a possible question why the whole argv isn't zero-filled.
2007-05-03 09:56:51 +00:00
maxim
b55cf0b91d MFC rev. 1.102: add missed w/space in the error message. 2007-04-28 20:09:26 +00:00
maxim
970fc35f80 MFC rev. 1.8: IFNAMSIZ includes a terminating null byte. 2007-04-22 08:37:21 +00:00
thomas
ad992339c2 MFC rev. 1.40:
(bread): For a read that is contained entirely within a block, never copy
 out more than size bytes to the caller's buffer.

PR:	bin/111191
2007-04-12 07:53:13 +00:00
thompsa
edf58557bc MFC r1.134
Correct the name of the 'proto' command.
2007-04-01 02:09:47 +00:00
brian
72a4b5e81b MFC: Don't free the buffer with the sysctl value before printing it. 2007-03-20 23:15:45 +00:00
brian
17ce8d3714 MFC: Default output to stdout as the man page suggests.
Only go through our cylinder group and inode info when we need to.
2007-03-19 19:16:49 +00:00
brian
ea6212f0ed MFC: Reindent main() 2007-03-19 19:15:42 +00:00
thomas
78c21575e4 MFC mount_nfs.c rev. 1.72, mount_nfs.8 rev. 1.47:
Add "fg" option as antonym to "bg"; add "hard" option as antonym to "soft".
This is for better compatibility with other environments (Linux, Solaris,
HP-UX, AIX and Tru64 support these options).

PR: bin/109924
2007-03-13 20:28:24 +00:00
matteo
aee437b487 mdmfs.c: MFC revs 1.29-1.31
mdmfs.8: MFC revs 1.27-1.29

PR:		bin/66763 103501 kern/109863
2007-03-11 18:24:22 +00:00
sam
340fd516ec MFC 1.44: remove local def for IEEE80211_IS_CHAN_PASSIVE now that it's defined 2007-03-10 00:48:28 +00:00
n_hibma
e138d8b7c1 MFC
rev. 1.34-1.36 mdconfig.8
	rev. 1.52-1.54 mdconfig.c

Make attach the default for -f and assume '-a' and '-t malloc' flags for '-s
<size>' (malloc ramdisk) if not specified.

To mount an image:

	MD=`mdconfig -f image`
	mount $MD /mnt

To create and mount a RAM disk (gosh, last I used those was on an Atari 1040ST:
256kb just to piss off the 640kb PC loosers)

	MD=`mdconfig -s 5mb`
	newfs /dev/$MD
	mount /dev/$MD /mnt

Et voila! Much easier to remember.
2007-02-27 09:04:56 +00:00
brueffer
6e963132e2 MFC: rev. 1.21 + 1.22
Don't reference the non-existant lkm(4), use .Nm instead
since lkm is the name of an api.
2007-02-15 17:19:38 +00:00
rodrigc
254bf662f7 MFC: New unionfs implementation from Daichi GOTO and Masanori OZAWA,
which fixes many locking and crashing problems in the previous
     implementation.  kib@ helped a lot by eliminating a source
     of deadlocks encountered with unionfs with these commits:
       rev. 1.50 of src/sys/fs/deadfs/dead_vnops.c
       rev. 1.97 of src/sys/kern/vfs_lookup.c
Submitted by:	daichi, Masanori OZAWA <ozawa ongs co jp>
2007-02-13 05:56:43 +00:00
brooks
e906ee70e9 Sync dhclient and supporting code with CURRENT. In particular:
- Introduce per-interface dhclient_flags_<ifn> and
   background_dhclient_<ifn> rc.conf variables.
 - Default to sending a client identifer.
 - When an invalid host name option is sent, delete it and accept the
   lease.
 - Fix usage, the call to getopt, and a typo in rc.d/dhclient.
2007-02-09 03:11:32 +00:00
rodrigc
86c647cf2b MFC 1.94
Warn that "-t msdos" will be converted to "-t msdosfs".

PR:		79296
Submitted by:	Nobuhiro Yasutomi <nobuhiro yasutomi nifty ne jp>
2007-02-06 06:06:28 +00:00
rodrigc
ae5bd0c2b5 MFC: 1.73, 1.74, 1.84
Do not pass "noauto", "userquota", or "groupquota" mount options
down to nmount() or external mount programs.

PR:			108751
Reported and tested by:	Neil Hoggarth <neil hoggarth me uk>
2007-02-06 01:16:09 +00:00
bms
392f6b640d MFC rev 1.133:
Be explicit in examples about the correct grammar for 'alias' and
  '-alias', and that 'add' and 'delete are in fact synonyms for these
  in the ifconfig(8) grammar.

  Use network prefixes explicitly specified in IETF RFCs for
  documentation purposes. (bz)

PR		102701
See also:	RFC 3330, RFC 3849
Submitted by:	bz
2007-02-05 12:39:53 +00:00
wilko
599e1f841c MFC: %s/tranport/transport/ 2007-02-03 16:40:19 +00:00
pjd
9084f020a7 MFC: sbin/geom/class/eli/geom_eli.c 1.19
When the following conditions are meet:
- First configured key is based only on keyfile (no passphrase).
- Device is attached.
- User changes first key (setkey) from keyfile to passphrase and doesn't
  specify number of iterations (with -i option).
...geli(8) won't store calculated number of iterations in metadata.
This result in device beeing unaccesable after detach.

One can recover from this situation by guessing number of iterations
generated, storing it in metadata and trying to attach device.
Recovery procedure isn't nice, but one's data is not lost.

Reported by:	Thomas Nickl <T.Nickl@gmx.net>
2007-02-03 16:09:10 +00:00
pjd
1ebd1ed20e MFC: sbin/geom/misc/subr.c 1.7
sbin/geom/misc/subr.h	1.8

Implement gctl_change_param() function, which changes value of existing
parameter.
2007-02-03 16:08:11 +00:00
bms
5186d02a86 Bump .Dd. 2007-02-03 11:57:44 +00:00
bms
7c4dcfd37d MFC rev 1.132:
Add an EXAMPLES section for ifconfig(8).

PR:		bin/102701
Obtained from:	OpenBSD
2007-02-03 11:57:09 +00:00
mpp
1843e9e481 MFC: quotacheck.c 1.27 - 1.29
Quota system cleanup.
2007-02-01 04:36:40 +00:00
mpp
33c1d45249 MFC: Sync up with HEAD. Revs 1.18 1.19. 2007-02-01 04:31:57 +00:00
rodrigc
9ccee7a0a3 MFC:
Convert mount_msdosfs to use nmount().
2007-01-28 18:01:28 +00:00
rodrigc
772cc608e2 Include <stdio.h> for vsnprintf(). 2007-01-28 17:52:28 +00:00
rodrigc
2f1da838f9 MFC 1.18:
In build_iovec(), if passed in len is -1, check to see if
val is NULL before doing strlen() to calculate new len.
2007-01-28 17:47:05 +00:00
rodrigc
cd3359733a MFC:
Add build_iovec_argf() function.
2007-01-28 17:42:06 +00:00
sam
f49c5315d1 MFC: half- and quarter-rate channel support 2007-01-28 04:27:52 +00:00
rodrigc
8cea67fc48 MFC 1.89, 1.90
Fix "mount -u -o ro" and "mount -u -o rw".

PR:		104687
2007-01-28 01:24:57 +00:00
rodrigc
ed4b2c771e MFC 1.22:
Convert mount_ext2fs to a simple program which passes "-o option" to nmount().

PR: 104687
2007-01-28 01:06:18 +00:00
sam
5a6ef06c97 MFC 1.41: fix handling of ssid "-" etc 2007-01-25 17:29:04 +00:00