Commit Graph

264 Commits

Author SHA1 Message Date
christos
22bbe71d05 Disengage ipf 2012-03-23 21:30:57 +00:00
dholland
2a4bf12d53 Remove quotactl(8). Successor for backup purposes is quotarestore(8).
Note that as of this writing the tool continues to work with the old
proplib-xml packet interface against the new libquota(3), so anyone
who has a use for it can bring it back from the Attic and/or create a
pkgsrc package.

Approved by releng for the freeze, and specifically okayed by core a
couple months ago.
2012-02-13 01:43:22 +00:00
dholland
aa498c6e1e Add quotadump(8), which is a link to repquota, and quotarestore(8),
which is new. Includes man page updates. Approved by releng for
freeze.
2012-02-13 01:35:06 +00:00
joerg
410d0f4380 Import the new apropos/whatis.
This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.
2012-02-07 19:13:24 +00:00
yamt
9753d46d1c install tprof related commands and man pages. 2012-01-04 16:25:13 +00:00
tsutsui
17d9647811 Build and install isibootd(8). 2011-12-17 13:27:49 +00:00
mbalmer
d0a114ea0b Build i2cscan, since it is the list files. 2011-10-03 07:29:33 +00:00
matt
d84c971f21 Break up list of directories by first letter. 2011-08-01 23:19:52 +00:00
manu
73963ae9de Enable the build of perfused and libperfuse 2011-05-09 08:51:08 +00:00
elric
98fbe74f8c Upgrade Heimdal to 1.5pre1 by switching the build from crypto/dist/heimdal
to crypto/external/bsd/heimdal.  The latter was just imported as the head
of the Heimdal tree as of a few days ago.
2011-04-15 18:05:42 +00:00
joerg
080ec811b2 Remove chrtbl(8). Since NetBSD 1.6, the rune type based file format for
LC_CTYPE has been used.
2011-03-17 02:35:27 +00:00
bouyer
063f96f3c2 merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
2011-03-06 17:08:10 +00:00
ahoka
2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
tsutsui
7efd442c9a Retire legacy grfinfo and hilinfo derived from HPBSD
since finally hp300 got wscons.
2011-02-07 18:11:28 +00:00
haad
6f5bb5ac37 Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.
This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.
2011-01-13 22:28:35 +00:00
kefren
e7341ada4c Add ldpd, a RFC 3036 compatible LDP speaker. 2010-12-08 07:20:14 +00:00
christos
185f0723f8 unhook tcpdump 2010-12-05 05:59:17 +00:00
kardel
925a7aaa61 unhook ntp 4.2.4 reachover build 2010-08-28 15:45:48 +00:00
rmind
2e6f2099c6 Import NPF - a packet filter. Some features:
- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
  Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
  supporting generic RISC-like and specific CISC-like instructions for
  common patterns (e.g. IPv4 address matching).  See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@
2010-08-22 18:56:18 +00:00
christos
b70c7f2153 unhook old wpa code. 2010-08-04 17:13:33 +00:00
christos
8d5d5ded4d unhook old cron, hook new one. 2010-05-07 17:35:31 +00:00
sborrill
f549e36e60 Add hdaudioctl(8), a tool to manipulate hdaudio(4) devices.
It offer the following subcommands:
	list - shows all child codec
	get - get a plist of the chosen codec's widget configuration
	set - forcibly reconfigure a specified codec from a plist
	graph - generate a graphviz file for the specified codec
2009-10-11 08:57:54 +00:00
mbalmer
35f74629dc wake(8) is a command to send Wake-on-LAN packets to machines on the local
ethernet, allowing machines to be powered up without physical access to them.

tonnerre@ and tron@ reviewed it and decided that the bin directories
are not to full for this small and useful command.
2009-06-25 18:41:21 +00:00
agc
474f9d04b2 Switch over to building iscsi library, target and initiator from the
external framework.
2009-06-25 13:58:59 +00:00
christos
b9beabb76c unhook bind 2009-04-12 17:13:06 +00:00
ad
101a9782a2 Add crash(8), a utility to diagnose kernel crashes. This is basically
ddb running on crash dumps, but with two notable changes:

- Breakpoints, watches, etc are obviously never going to work so they
  are not handled.

- You can pipe output to the shell, e.g. ps | grep foo

Items remaining to be done:

- Port it to architectures other than i386. This isn't difficult, just
  a case of making db_disasm.c/db_trace.c or their equivalent compile
  and work.

- Make more of the "show" commands work, e.g "show uvmexp".
2009-03-07 22:08:07 +00:00
pooka
b2fa04c6b2 Now that MKPUFFS is default, kill it as advertised.
While there, give puffs and refuse files sensible syspkg entries.
2008-11-12 13:17:27 +00:00
joerg
39741d2848 Hook up libfetch and pkg_install update. 2008-10-02 17:54:51 +00:00
christos
b743dfb7ec unhook amd 2008-09-19 21:42:36 +00:00
plunky
897274514a link btpand(8) to build 2008-08-17 13:26:36 +00:00
ad
44eb18fda8 Add a dumb, mostly Solaris-compatible psrset command. It's missing some
options. Without it there's no easy way to test or use processor sets.
2008-06-22 13:53:59 +00:00
reinoud
e979c658c9 Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
        all operations can be performed on the file system though the
        sheduling is currently optimised for archiving workloads.

        mv(1)/rename(2) is currently only implemented for non-directories.
2008-05-14 16:49:47 +00:00
plunky
486e4624e5 some changes to serial bluetooth host controller interfaces
btuartd(8) should be named btattach(8) for consistency
with other parts of NetBSD

make btattach(8) a single-use tool for less complexity

device specicific initialisation (from btuart(4)) is carried
out prior to activating the line discipline (in btattach(8)),
which simplifies the API somewhat and means that the user
tool and the kernel do not need to be kept in sync.

btuart(4) driver is much reduced; naming is made consistent
and all tsleep() and delay() are removed to userland
2008-04-15 11:17:47 +00:00
mlelstv
b0f88a0388 Import Heimdal-1.1 2008-03-22 08:36:48 +00:00
rmind
5c71a4d49f Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.
2008-01-15 03:37:10 +00:00
ad
18af8ee9bd Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.
2007-08-04 11:02:56 +00:00
christos
bfb6cb13d5 Add tcpdrop from {Free,Open}BSD. 2007-06-25 23:34:52 +00:00
agc
dac395ade7 Descend into fusermount if MKPUFFS is defined 2007-04-26 21:14:46 +00:00
briggs
d298894138 Install sys/dev/bluetooth/btuart.h.
Descend into and build/install usr.sbin/btuartd.
Install etc/rc.d/btuartd.
2007-02-20 21:29:08 +00:00
elad
a8c0f0c72e Move paxctl from usr.bin/paxctl to usr.sbin/paxctl, and make it an admin
tool (man-page moved from section 1 to section 8).
2007-01-30 19:40:07 +00:00
mouse
fa0144b381 Add srtconfig. It builds OK, at least in my tests, so it shouldn't
break anything having it there, and it's pretty much necessary for
anyone who wants to actually use srt.
2007-01-26 07:01:03 +00:00
christos
10866ba3f7 add acpitools 2007-01-14 04:39:34 +00:00
pooka
81b905fdbb if MKPUFFS=yes is given, build & install mount_psshfs (default: no) 2006-12-29 15:52:20 +00:00
macallan
8c774caf8c Add gimpy's OF device tree dumping tool.
Tested on macppc and sparc64
2006-09-29 19:03:11 +00:00
elad
ade08c91dc Add a C version of Veriexec's fingerprint generator, written by Matt
Fleming.

This one has some nice options -- for example, an admin can run right
after installing a system:

        fpgen -D

and it will fingerprint a set of "common" system directories to the
default loaction. See the man-page for more stuff.

Performance-wise, here are results for both fpgen.sh (old) and this
new tool:

	474.599u 574.335s 13:53.05 125.9%       0+0k 0+307io 0pf+0w

	0.424u 0.131s 0:00.56 98.2%     0+0k 0+2io 0pf+0w

...guess which is which? (that's ~1500 times *faster*)
2006-09-16 20:54:42 +00:00
ad
297f461929 Add the lockstat command: displays a summary of kernel locking events
recorded over the lifetime of a called program.
2006-09-07 00:50:45 +00:00
matt
13f8672f00 Don't descend into trsp anymore. 2006-08-26 17:26:00 +00:00
plunky
885b13c515 rename btcontrol(8) as btdevctl(8) to make it fit with the NetBSD naming
scheme for control programs. This fixes pr 34051.
2006-08-13 09:03:21 +00:00
christos
82916ef1ea add services_mkdb back. 2006-07-27 22:15:07 +00:00
mrg
2ed89a9707 add support for MKISCSI=no. 2006-06-24 05:14:01 +00:00