thompsa
77e8d2fea0
Fix channel parsing which was broken in r179958, the channel number may be
...
suffixed with :flag and /width.
2008-08-14 03:49:14 +00:00
pjd
88abc02c6e
geli onetime command can take only one GEOM provider at a time.
2008-08-12 19:42:03 +00:00
ivoras
b5c57a6aa5
Clean up of dead code and possible unassigned variable usage.
...
Found by: LLVM/Clang Static Checker
Approved by: gnn (mentor)
2008-08-09 16:47:30 +00:00
des
c2c1c946ae
Add sbuf_new_auto as a shortcut for the very common case of creating a
...
completely dynamic sbuf.
Obtained from: Varnish
MFC after: 2 weeks
2008-08-09 11:14:05 +00:00
sam
3c96d1d858
recognize WPS ie's
...
Submitted by: "Chuck Tuffli" <chuck@tuffli.net>
MFC after: 1 week
2008-08-09 05:37:22 +00:00
antoine
58dd6e51d2
Make atacontrol(8) rebuild work when /usr is not mounted or from /rescue
...
PR: bin/125680
MFC after: 1 month
Tested by: Stef Walter
2008-08-06 18:08:02 +00:00
rwatson
6fbc5fa75e
DDB scripting, textdumps, output capture, etc, all will appear in
...
FreeBSD 7.1 before 8.0 ships.
Spotted by: Ulrich Spoerlein <uspoerlein at gmail dot com>
MFC after: 3 days
2008-08-03 14:27:06 +00:00
thompsa
dd68eea321
Move the grekey to its own file, ifconfig.c does not have interface specific
...
code.
Submitted by: sam
2008-08-03 03:36:12 +00:00
sam
ddf87cb1a8
change list wme to only print the channel parameters; to
...
get channel+bss use -v
2008-08-02 18:10:14 +00:00
sam
1a57b0b9b6
don't silently exit if the regdomain.xml file is missing
2008-08-02 18:06:27 +00:00
julian
2c8efa0a9d
Slight wordsmithing. prompted by danger@
2008-08-01 23:31:28 +00:00
julian
4bfc008c7a
Document the use of the tablearg keyword together with the skipto command.
2008-08-01 22:34:01 +00:00
sam
5e20ec1300
add missing capability bits
2008-08-01 01:27:52 +00:00
obrien
30175e1d31
Add a -q[uiet] flag for scripts.
2008-07-31 00:55:29 +00:00
sam
c33eb05ec1
correct description of how to clear a desired channel
...
Pointed out by: Chris Buechler
MFC after: 1 week
2008-07-30 16:22:52 +00:00
phk
2f3eaa65d5
Update routed to use the RFC 3678 protocol-independent multicast API. Use
...
IP_MULTICAST_IF with struct ip_mreqn (obtained from Linux) to tell the
stack which interface index to use for sending IPv4 datagrams.
Submitted by: bms
Tested by: phk
2008-07-30 11:56:15 +00:00
phk
bbadbad272
Clarify which route property routed(8) looks at.
2008-07-29 23:22:06 +00:00
kib
84bb2d707f
Note that snapshots may cause a panic on the full UFS filesystem.
...
Submitted by: pho
MFC after: 3 days
2008-07-26 13:18:33 +00:00
julian
1a38a92356
Note that setfib is not a terminal rule.
2008-07-24 18:39:36 +00:00
kris
b1f6c11549
Fix -o mntudp after the conversion to default TCP mounts
...
Submitted by: danfe
MFC after: 1 week
2008-07-10 17:53:10 +00:00
marcel
bdbada7ab2
Obsolete bsdlabel(8) on powerpc. Use gpart(8) instead.
2008-07-06 20:57:35 +00:00
marcel
01e5f7ef0f
Make sunlabel specific to sparc64. This is mostly for backward
...
compatibility reasons. Sun labels, with VTOC8, are handled by
gpart(8).
2008-07-04 04:33:33 +00:00
marcel
9da015cb79
Stop building bsdlabel(8) and fdisk(8) on ia64. Both tools are
...
obsoleted by gpart(8). This avoids the following bugs in fdisk:
- initializing a disk without MBR bogusly emits the error:
fdisk: invalid fdisk partition table found
- initializing a disk with or without MBR bogusly emits either:
fdisk: Class not found
or
fdisk: Geom not found: "XXX"
- the default geometry for non-ATA and non-SCSI disks is either
invalid or sub-optimizal.
2008-07-03 20:53:15 +00:00
marcel
ad8d265406
Add NO_MAN for the static variant of geom(8). Both the RESCUE and the
...
RELEASE_CRUNCH builds use NO_MAN anyway, so this change is primarily
to avoid that developers have to set NO_MAN manually when they build
the static variant.
2008-07-03 19:40:59 +00:00
des
34dee8955f
Drag this code kicking and screaming into the twenty-first century.
2008-07-02 15:51:59 +00:00
rik
b49a85befd
Do not set IFF_DEBUG directly from the driver.
...
MFC after: 1 month.
2008-06-30 21:18:27 +00:00
ed
0637892261
Run the privileged dhclient process in its own session.
...
In the MPSAFE TTY branch, I noticed PTY's to be leaked, because
dhclient's privileged process was run inside the session of, say, the
login shell. Make sure we call setsid() here.
Approved by: philip (mentor), brooks
2008-06-30 20:23:49 +00:00
mtm
78a7b2becb
Support for filtering on major device number was removed in rev. 1.7 or
...
rule.c. Update man page example accordingly.
Submitted by: Mateusz Guzik <mjguzik@gmail.com>
PR: docs/124892
2008-06-27 09:09:50 +00:00
mtm
5fecddb79a
The signature for a pthread function requires that it
...
return a pointer to a void. The send_thread() and disk_thread()
funtions; however, do not have a return value because they run for
the duration of the daemon's lifetime. This causes gcc to barf when
running with -O3. Make these functions return a null pointer to quiet it.
PR: bin/124342
Submitted by: Garrett Cooper <gcooper@FreeBSD.org> (minus his comments)
MFC after: 1 week
2008-06-26 07:05:35 +00:00
bz
66ca734cf3
Document spindown constraints as given in the original commit
...
message[1] and later clarification provided by phk.
[1] http://docs.freebsd.org/cgi/mid.cgi?200803171033.m2HAXOeN055116
Reviewed by: brueffer, phk, ed
2008-06-25 18:11:22 +00:00
mtm
06cbeaa694
Add a -q flag to swapon(8) to suppress informational messages. Use it in
...
rc.d.
Note: errors are not affected by this flag.
2008-06-23 22:17:08 +00:00
mtm
5b37d9eba7
The sysctl(8) program exits on some errors and only emits warnings on
...
others. In the case where it displayed warnings it would still return
succesfully. Modify it so that it returns the number of sysctls that
it was not able to set.
Make use of this in rc.d to display only *unsuccessfull* attempts to
set sysctls.
2008-06-23 22:06:28 +00:00
thompsa
5a33ff1491
Ensure the channel is a number and not a range, the 'channel' command can be
...
easily mixed up with 'chanlist' and would give unexpected results by fixing the
channel on the first number in the range.
2008-06-23 16:08:40 +00:00
mav
2ee7f37628
Add exit_delay parameter to control daemon exit delay after signal.
...
PR: bin/58696
Submitted by: sp@alkor.ru
2008-06-22 22:14:02 +00:00
mav
6aae4674ed
Use strdup() instead of static buffer allocation to avoid 128 bytes limit
...
on -redirect_XXX arguments length.
PR: bin/86647
Submitted by: Stephen Hurd <shurd@sasktel.net>
2008-06-22 21:22:25 +00:00
marck
f95442f594
Add -v (verbose) option to -l command, to show size and backing store
...
of all md devices at one time.
Approved by: phk
MFC after: 2 weeks
2008-06-21 15:04:42 +00:00
gonzo
7a070d63e9
Fix spelling
...
PR: kern/124723
Event: Bugathon#5
2008-06-20 21:41:44 +00:00
thompsa
0c235e44e0
Add support for the optional key in the GRE header.
...
PR: kern/114714
Submitted by: Cristian KLEIN
2008-06-20 17:26:34 +00:00
marcel
b12551bbfa
Implement the set and unset verbs. While here, have the manpage
...
catch up with various changes.
2008-06-18 01:46:32 +00:00
marcel
94a61263f9
Implement the -l and -r options for gpart show.
...
The -l option changes the output to show the partition label, if applicable
and when present. The -r option changes the output to show the raw (i.e.
scheme-specific) partition types.
2008-06-13 00:04:10 +00:00
marcel
81e8c9232d
Remove gpt(8). It's replaced by gpart(8).
2008-06-09 21:30:40 +00:00
brooks
675039c544
Use the -n flag to route(8) when calling "route get". Otherwise we hang
...
for a long time if we get a lease, but DNS isn't working.
MFC after: 1 week
2008-06-09 20:03:35 +00:00
marcel
fcffc805d8
Disconnect gpt(8) from the build. gpt(8) is replaced by gpart(8).
2008-06-09 16:42:55 +00:00
mtm
98ec5e76a8
Document the misleading nature of the REQUIRE line. The patch in
...
the PR has been heavily edited for style(9) and clarity. Mistakes are
mine.
PR: bin/124251
2008-06-09 09:07:58 +00:00
stas
fc0f234794
- Display '-C' option in usage().
...
Approved by: kib
2008-06-08 19:48:41 +00:00
marcel
f031db47ee
Document the new -p and -i options for writing bootstrap code into
...
a partition. Make it clear that the -b option embeds boot code in
the meta-data.
2008-06-07 00:14:06 +00:00
marcel
e4a5218866
Enhance the bootcode command to also allow bootcode to be written
...
to a partition. This avoids that users need to use dd(1) to install
boot code (as is needed for VTOC8 and booting GPT on PCs).
2008-06-06 23:58:29 +00:00
marcel
0cbc50b4b0
Add two support functions:
...
o gctl_delete_param() -- intended for parameters that are consumed
by geom(8) itself and which should not be passed to the kernel.
o gctl_has_param() -- intended to check if optional parameters are
present.
Both are needed by gpart(8) to process the optional parameter for
writing bootcode to a partition (as part of the bootcode verb).
However, the kernel is itself not involved in this matter and the
parameter needs to be removed from the request destined for the
kernel.
2008-06-06 22:44:03 +00:00
brian
36fee0c28d
Don't abend if we get ENOMEM from sysctl(3). The data returned
...
is sufficient
MFC after: 2 weeks
2008-06-06 08:59:55 +00:00
marcel
dd14f4af05
Update the manpage to reflect reality:
...
o The BSD, PC98 and VTOC8 schemes are supported.
o The bootcode command was added to allow installing bootstrap code
into the scheme's metadata.
2008-06-06 05:14:16 +00:00