Pawel Jakub Dawidek
6e679990b9
Fix some section references.
2008-04-29 08:16:05 +00:00
Pawel Jakub Dawidek
f1025ba7c7
The referenced section name is 'Formats', not 'FORMATS'.
2008-04-29 07:35:31 +00:00
Ruslan Ermilov
562f2f71eb
Don't depend on the modification time of the "zfs" subdir.
2008-04-29 06:54:12 +00:00
Ruslan Ermilov
24c9b0c84e
- Fix makefile so it doesn't break the build in some corner cases. [1]
...
- Remove an extra copy of zfs.c.
Reported by: yar [1]
2008-04-29 06:48:00 +00:00
Xin LI
b6d9e1f355
ANSIfy function prototypes. While I am there, constify some parameters and
...
make use of C99 sparse initialization for static variables, this makes talk(1)
to compile cleanly with WARNS=6.
2008-04-28 21:08:42 +00:00
Sean Farley
41a05be4ea
Capitalize "Eve". This is the correct form and now matches
...
calendar.usholiday.
MFC after: 3 days
2008-04-24 01:37:12 +00:00
Gabor Pali
491851f994
Add:
...
- myself to the doc committers' graph
- my birthday to the FreeBSD calendar
Approved by: gabor (mentor)
2008-04-22 15:42:20 +00:00
Robert Watson
070356d1fb
Use ddb(4), not DDB(4) for man page cross-references.
...
MFC after: 3 days
Reported by: novel
2008-04-21 17:09:53 +00:00
Robert Watson
b27c1c8db7
Provide more detailed information about each procstat(1) display mode,
...
including a key to fields in each mode and flag abbreviations.
MFC after: 3 days
X-MFC-note: POSIX shared memory memory objects aren't in 7-STABLE yet
2008-04-19 13:40:42 +00:00
Robert Watson
ba8ca9db9c
It is a bug that procstat(8) works only on live kernels and not crashdumps;
...
document in case anyone wants to work on fixing this.
MFC after: 3 days
2008-04-19 12:39:15 +00:00
Garance A Drosehn
a414225db1
Add the '-u name' option to the env command, which will completely unset
...
the given variable name (removing it from the environment, instead of
just setting it to a null value).
PR: bin/65649
MFC after: 2 weeks
2008-04-17 23:17:09 +00:00
Randall Stewart
4db051c8a5
Fixes typo's in sctp.c
2008-04-16 17:40:30 +00:00
Ruslan Ermilov
d3bf3b9a7a
system_info.cpustates isn't sparse, so a bitmask of available CPU states
...
is redundant (I think it's a leftover from an older implementation).
2008-04-11 11:39:26 +00:00
Ruslan Ermilov
3aaa083285
Allocate enough memory for pcpu_cp_time[] to stop sysctl() from
...
writing outside of array bounds. This fully fixes -P display on
i386, where kern.cp_times prints zeroes for non-existing CPUs.
2008-04-11 11:34:09 +00:00
Jeff Roberson
86b3e19077
- Add support for interrupt bindig to cpuset(1). Interrupts are bound
...
by specifying the interrupt with -x <irq>. The irq number matches
those displayed by vmstat -i.
Sponsored by: Nokia
2008-04-11 03:27:42 +00:00
Ruslan Ermilov
f89db4357e
Fix "top -P" (&' mistyped as
&&' and a botched logic).
...
The bug was unnoticed on non-i386 because mp_maxid is
initialized differently, kern.cp_times doesn't print
zeroes for non-existing CPUs, so no "writing outside of
array bounds" happens.
MFC after: 3 days
2008-04-10 16:17:54 +00:00
Ruslan Ermilov
e83412c9ca
Add forgotten -H, -h, and -P to usage().
2008-04-10 09:56:57 +00:00
Warner Losh
5859ace94f
MFp4(mips2-jnpr):
...
Add mips support.
2008-04-04 21:35:13 +00:00
Warner Losh
268f9be78d
Add mips support.
2008-04-04 21:33:41 +00:00
Ruslan Ermilov
da647ae946
Spell -t option's argument by name.
2008-04-02 09:41:29 +00:00
Ruslan Ermilov
dbdb679c6f
Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longer
...
build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
2008-03-29 17:44:40 +00:00
John Birrell
e327f52446
The sources covered by Sun's CDDL have been repo copied below the
...
src/cddl and src/sys/cddl directories per the core@ decision following
the license review.
This change modifies the affected Makefiles to reference the sources
in their new location.
2008-03-27 23:21:25 +00:00
John Birrell
d97cdd3349
Allow awk (the one true one!) to handle 64 files instead of just 20.
...
The current FreeBSD syscall generation script uses all 20 and I need
another open file.
It's a shame that something named as the 'one-true-awk' is so limited
by an old denition like FOPEN_MAX when it could just make the file
handling dynamic.
This is done to avoid touching contrib sources on a vendor branch.
2008-03-27 01:33:26 +00:00
Christian Brueffer
662cac9f23
Fix some "in in" typos in comments.
...
PR: 121490
Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com>
Approved by: rwatson (mentor), jkoshy
MFC after: 3 days
2008-03-26 07:32:08 +00:00
Christian S.J. Peron
582908b314
Catch netstat up for the new bpf stats structures. Print 64 bit values
...
properly.
Sponsored by: Seccuris Inc
MFC after: 4 months
2008-03-24 13:50:39 +00:00
Ruslan Ermilov
2f93f6470b
Fix splitting into words of the .for expression to allow for
...
spaces in values. Without this change, the following valid
call broke due to parsing of .MAKEFLAGS in bsd.symver.mk:
cd /usr/src/lib/libc && make -n DEBUG_FLAGS="-DFOO -DBAR"
Spotted by: Igor Sysoev
Submitted by: Maxim Dounin, ru
MFC after: 1 week
2008-03-24 12:33:28 +00:00
Ruslan Ermilov
8c9dc249d1
Fix bugs in the previous revision.
2008-03-24 09:47:44 +00:00
Dag-Erling Smørgrav
6567d14f5e
Fix usage string.
2008-03-20 09:53:45 +00:00
Hajimu UMEMOTO
bd2327cd5e
Change .8s port name restriction to .15s.
...
This change corresponds to inet.c 1.13.
MFC after: 1 week
2008-03-18 15:04:05 +00:00
Tim Kientzle
3b56813eb0
Fix --fast-read by decrementing the remaining patterns to be matched,
...
instead of incrementing.
Pointy hat: me
Thanks to: Tomasz Przygoda
MFC after: 3 days
2008-03-18 06:18:49 +00:00
Antoine Brodin
887019fbbc
Initialize variable "now" before using it (it is used by the LEFTEARTH
...
macro)
PR: 121418
Submitted by: Atsuo Ohki
Approved by: rwatson (mentor)
MFC after: 1 month
2008-03-17 18:31:43 +00:00
David Schultz
0e286f086c
Add a -n option to split(1) to split files into N chunks rather than
...
having to specify the right number of bytes.
Obtained from: NetBSD
Submitted by: Jan Schaumann <jschauma@netmeister.org>
PR: 113175
2008-03-16 15:15:32 +00:00
Tim Kientzle
9ef493f9c6
style(9) fix to add whitespace around an '=' sign and restore
...
a comment that got accidentally dropped.
2008-03-15 05:08:21 +00:00
Tim Kientzle
1fd0d1f6de
Support NetBSD's --insecure as a synonym for -P.
2008-03-15 03:28:39 +00:00
Tim Kientzle
ef1108fe61
Document --chroot.
2008-03-15 03:25:26 +00:00
Tim Kientzle
8fc7d6f52c
Support -q (from NetBSD) as a synonym for --fast-read (the old FreeBSD
...
extension to GNU tar).
Thanks to: Joerg Sonnenberger
2008-03-15 03:18:24 +00:00
Tim Kientzle
acf18d7a97
Also accept --uncompress as a synonym for -Z.
...
Thanks to: Joerg Sonnenberger
2008-03-15 03:11:13 +00:00
Tim Kientzle
e1dedd79ed
--chroot implementation thanks to Joerg Sonnenberger.
2008-03-15 03:06:46 +00:00
Tim Kientzle
f2e9d875ca
Support --compress as a synonym for -Z.
2008-03-15 02:45:57 +00:00
Tim Kientzle
53f3a9d49f
Enable and document the -Z option for selecting "compress" compression,
...
now that libarchive supports it.
2008-03-15 02:41:44 +00:00
David E. O'Brien
8757b00e1e
uuidgen has been repo-copied from usr.bin/ to bin/ to match its "new"
...
(2007/04/09) installation location.
2008-03-13 17:38:06 +00:00
Jeff Roberson
cffe6e824b
- When running a new command cause cpuset to operate on the per-thread mask
...
by default rather than the setmask. This is consistent with the linux
tool and more consistent with the notion that the default level is
the process level. The cpuset mask can still be modified by specifying
the -c option. You can not set the per-thread and cpuset mask in
a single command.
- Update the man page to reflect this change.
Contributed by: gallatin
2008-03-12 23:54:40 +00:00
David E. O'Brien
f312f6a655
If the special target .MAKEFILEDEPS exists, then enable the
...
"remaking makefiles" feature. Otherwise, follow traditional Pmake behavior.
2008-03-12 14:51:47 +00:00
David E. O'Brien
ad9165a038
If the special target .MAKEFILEDEPS exists, then enable the
...
"remaking makefiles" feature. Otherwise, follow traditional Pmake behavior.
(hash table will be regenerated and committed follow this commit)
2008-03-12 14:50:58 +00:00
Jeff Roberson
0f33b907d5
- Remove ksethrcmdname.
2008-03-12 11:51:01 +00:00
Peter Wemm
d60522eb39
Fix apparent typo. The permitted confidence values include 95%, not 85%.
2008-03-12 00:13:49 +00:00
Kai Wang
cb0dad38e4
GNU ar did NOT implment option -q as a synonym of -r as the manual
...
page stated, thus BSD ar(1) option -q, which was implemented based on
the GNU ar manual page, turns out to be incompatible with GNU ar -q.
This change will make BSD ar(1) -q a *REAL* GNU ar -q:
1. It will update symbol table. (same as unfixed version)
2. It will NOT compare new members spcified in the command line args
with existing members, instead, append them directly.
Reported by: Johannes 5 Joemann <joemann@beefree.free.de>
Reported by: Timothy Bourke <timbob@bigpond.com>
Tested by: Johannes 5 Joemann <joemann@beefree.free.de>
Reviewed by: jkoshy
Approved by: jkoshy (mentor)
2008-03-11 18:35:51 +00:00
Joel Dahl
24ba015813
Fix minor typo.
2008-03-11 14:48:59 +00:00
Robert Watson
3c23548899
Teach gunzip that .tbz and .tbz2 uncompress to .tar, in a manner similar to
...
its existing understanding that .tgz uncompresses to .tar.
MFC after: 3 days
PR: 121519
Submitted by: Ighighi <ighighi at gmail.com>
2008-03-09 13:49:09 +00:00
Robert Watson
c7b65254c4
When gzipping to a target file, only set the source file flags on the
...
target file after the timestamp has been set; otherwise setting the
timestamp will fail if the flags don't permit it (i.e., uchg).
MFC after: 1 week
PR: 120208
Submitted by: Ighighi <ighighi at gmail.com>
2008-03-09 11:16:42 +00:00