summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add some tests for r194975 and r194977.jilles2009-06-251-0/+35
| | | | Approved by: ed (mentor) (implicit)
* - Make pprint print through fd 3, so it can be used in customisationn_hibma2009-06-251-1/+6
| | | | | | | functions to print something to the screen. - Prefix each line with the running time (bikeshed). Submitted by: Rick van der Zwet (Wireless Leiden)
* Designate special builtins as such in command -V and type.jilles2009-06-241-1/+1
| | | | | | Also document various properties of special builtins that we implement. Approved by: ed (mentor) (implicit)
* Add test for r190698.jilles2009-06-241-0/+7
| | | | | Submitted by: Eygene Ryabinkin Approved by: ed (mentor) (implicit)
* add a link named athpeek since my fingers keep typing itsam2009-06-241-0/+1
|
* read back the written value and displaysam2009-06-241-2/+1
|
* Add libjail, a (somewhat) simpler interface to the jail_set and jail_getjamie2009-06-241-0/+1
| | | | | | system calls and the security.jail.param sysctls. Approved by: bz (mentor)
* Add tests for r194774.jilles2009-06-231-0/+9
| | | | Approved by: ed (mentor) (implicit)
* Add architecture support for TinyBSDremko2009-06-201-2/+4
| | | | | | | | PR: 135301 Submitted by: Olivier Cochard-Labbe <olivier at cochard dot me> Reviewed by: Jean Milanez Melo <jmelo at freebsdbrasil dot com dot br> (maintainer) Approved by: imp (mentor, implicit) MFC after: 1 week
* Up the scale of the SPX loopback check a bit: use much larger data sizesrwatson2009-06-201-59/+38
| | | | so that we need to do segmentation.
* Add tests for r194406 and r194516.jilles2009-06-192-0/+56
| | | | Approved by: ed (mentor)
* - Don't hard code _.disk.full. Use the variable.n_hibma2009-06-181-3/+2
| | | | | - _.bk should be created in MAKEOBJDIRPREFIX as well - Remove a misplaced and unnecessary message.
* Reverse some stuff I accidentally committed in the previous commit:n_hibma2009-06-181-5/+5
| | | | | | | | - creation of sparse files to speed up the build process. This was discussed with phk 2 years ago and he disagreed with this change. - handling of negative data partition sizes. Can I have the ... green pointy hat, please?
* Allow building world into a separate dir (for reuse in multiple images):n_hibma2009-06-181-63/+62
| | | | | | | | | | | | | | | | | | | - buildworld and buildkernel are built into MAKEOBJDIRPREFIX - installworld and installkernel are performed on NANO_OBJ. No change of functionality if MAKEOBJDIRPREFIX is not set. If it is sea,t clean_world deletes NANO_OBJ instead of NANO_WORLDDIR. By starting nanobsd.sh with the -b option the existing world can be reused to build a new world reducing time and disk space considerably. While there: - Fix two cases where (in comments) MAKEOBJDIRPREFIX should have been NANO_DISKIMGDIR. - Simplify an 'if (not wrong); then true; else action; fi' into 'if wrong; then action; fi'. 'if ! false; then echo hello; fi' produces hello. Note: Make sure you use NANO_OBJ were you use MAKEOBJDIRPREFIX now in your nanobsd.conf files if you want to split out.
* update usb config; the old stack is gonesam2009-06-171-11/+12
|
* When copy+paste goes wrong... Remove duplicate "expr".edwin2009-06-171-1/+1
| | | | Submitted by: danfe@
* iiin -> inedwin2009-06-161-1/+1
| | | | Submitted by: "N.J. Mann" <njm@njm.me.uk>
* Fix NanoBSD when the data partition size is defined as a negativeedwin2009-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | number. It is possible to ask nanobsd.sh to create a 'data' partition, separate from the system or configuration partitions, and furthermore, by specifying a negative value for its size to request that it use all space unused by those partitions for its own size. Because the two lines of code that calculate how much space is available for this data partition are written in perl-like syntax, the awk code that does the processing performs the calculation incorrectly. [note - this was already fixed by r174936] Furthermore, a comparison later down fails to newfs the partition when the size is negative. PR: misc/127759 Submitted by: Cyrus Rahman <crahman@gmail.com> MFC after: 1 week
* Support for 64 Mb Kodak flash device.edwin2009-06-161-0/+14
| | | | | | PR: misc/115025 Submitted by: Michael W Lucas <mwlucas@freebsd.org> MFC after: 1 week
* Add support for 256MB Hitachi CF card and 256MB Silicon Systems CF cardedwin2009-06-161-0/+18
| | | | | | | | | | | | This patch against RELENG_6 adds two more entries to src/tools/tools/nanobsd/FlashDevice.sub - one for a 256MB Hitachi CF card and one for a 256MB Silicon Systems CF card. Both entries have been verified to work with a Soekris net4801. PR: kern/101228 Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> MFC after: 1 week
* Add a new 'void closefrom(int lowfd)' system call. When called, it closesjhb2009-06-153-0/+293
| | | | | | | | | | | | | | | | | | | | any open file descriptors >= 'lowfd'. It is largely identical to the same function on other operating systems such as Solaris, DFly, NetBSD, and OpenBSD. One difference from other *BSD is that this closefrom() does not fail with any errors. In practice, while the manpages for NetBSD and OpenBSD claim that they return EINTR, they ignore internal errors from close() and never return EINTR. DFly does return EINTR, but for the common use case (closing fd's prior to execve()), the caller really wants all fd's closed and returning EINTR just forces callers to call closefrom() in a loop until it stops failing. Note that this implementation of closefrom(2) does not make any effort to resolve userland races with open(2) in other threads. As such, it is not multithread safe. Submitted by: rwatson (initial version) Reviewed by: rwatson MFC after: 2 weeks
* Add tests for r194127 and r194128.jilles2009-06-142-0/+29
| | | | Approved by: ed (mentor)
* Instead of only being able to compare two terminal definitions, nowedwin2009-06-141-21/+88
| | | | | | | | also be able to print information about... - length of the terminal capabilties - dump of one terminal definition - relationship overview for a terminal definition
* Rename since it has will have more capabilities than just comparing ofedwin2009-06-141-0/+0
| | | | two termcap entries.
* Tool to compare two (roughly similar) termcap entries (like rxvt-monoedwin2009-06-141-0/+98
| | | | | and rxvt-unicode) so see which fields should don't need to be copied if the :tc=xxx: option is used.
* Check that flopen() can lock against self and that children inherit the lock.des2009-06-061-6/+41
|
* pciconf(8) removes characters after an #, therefor remove them.edwin2009-06-061-8/+10
| | | | Also remove \s used to escape 's.
* When trying to see if we could update the share/misc/pci_vendors,edwin2009-06-061-79/+99
| | | | | | | | | | | | I found out that the input format of the Boemler list was different than what the code expected: The last two fields were interpreted as one. Checking the csv version of the list it showed that there was sometimes a chipset number in the column before the card description. This is a rewrite to use the CSV format of the Boemler list. The output is differently formatted: Instead of the "chip description", it is now "description (chip)"
* Add an interim userland utility for managing vimages / virtualizedzec2009-06-064-0/+347
| | | | | | | network stack infrastructure. Requested by: julian (mentor) Approved by: julian (mentor)
* lchflags(2) takes int, not u_long like chflags(2) and fchflags(2).pjd2009-06-031-1/+1
| | | | | | Strange, isn't it? Pointed out by: bde
* Add support for the build options that are currently in the port:dougb2009-06-014-0/+10
| | | | | | | WITH_BIND_IDN WITH_BIND_LARGE_FILE WITH_BIND_SIGCHASE WITH_BIND_XML
* tools for mwl driversam2009-06-0110-0/+1305
|
* Add tests for r193169.stefanf2009-05-314-0/+17
|
* Add a regression test for multiple threads of the same process acquiring the ↵zml2009-05-282-0/+110
| | | | | | same fcntl lock. Approved by: dfr (mentor)
* Increment the counter outside the subshell.des2009-05-271-1/+1
|
* Add the regression test for bin/date.edwin2009-05-271-0/+1
|
* Add a regression test for kern/21768.des2009-05-261-0/+42
| | | | MFC after: 1 week
* Use, in uncovered part, the END() macro in order to improve debugging.attilio2009-05-252-0/+4
| | | | | | | | | In this specific case, Valgrind won't get confused when analyzing such functions. Sponsored by: Sandvine Incorporated Tested by: emaste MFC: 3 days
* Regression test the 'addr1,+N' feature added in r192732brian2009-05-253-0/+10
|
* add npe toolssam2009-05-231-0/+16
|
* add npe tools; first is npestats which reports device statisticssam2009-05-238-0/+804
|
* Added two tools to check the contents of /usr/share/misc/iso* withedwin2009-05-233-0/+264
| | | | | | the data from the sources. PR: misc/127430 and misc/misc/127428
* Add regression tests for the date(1) + argument for user-definededwin2009-05-203-0/+99
| | | | | | | | format strings. PR: bin/127514 Submitted by: edwin@ MFC after: 1 week
* fix typosam2009-05-181-1/+1
|
* A script for plucking packages and their runtime dependencies forphk2009-04-191-0/+96
| | | | nanobsd images.
* Cleanups to prepare this code for wider use (likely merged into hostapd):sam2009-04-181-102/+249
| | | | | | | | | | | | o add (required) cmd line args to specify the set of ifnet's to monitor for WDS discovery msgs; "any" is a wildcard o change the default script run on wds vap create to the "null script" o auto-daemonize; add -f option to force foreground operation o add -P option for integration with rc.d (implementation missing, tba) o use syslog; default to log up to LOG_INFO, -t (terse) gives you up to LOG_ERR, and -v (verbose) gives you up to LOG_DEBUG o scan for existing vaps on startup to recover existing state o correct some types
* allow NANO_CFGDIR to be overriddensam2009-04-181-1/+1
|
* no more need for -p option to wlanwds; it knows how to find the parent nowsam2009-04-151-1/+1
|
* o remove the -p option; use the %parent pointer sysctl to find the parent ifnetsam2009-04-151-20/+29
| | | | | o remove the -b option; users can just embed the bridge ifnet in the script o add -j option to create wds vaps on join/rejoin ops
* switch usb setup to usb2; it still doesn't work right but thesam2009-04-131-9/+4
| | | | old stuff is now removed and we want this to build
OpenPOWER on IntegriCloud