summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Share the i386 boot manual page.obrien2004-03-221-0/+3
|
* Add initial support for compiling a special 32 bit version ofpeter2004-03-211-12/+26
| | | | | | | ld-elf.so.1 on 64 bit systems. Most of this involves using alternate paths, environment variables and diagnostic messages. The build glue is seperate.
* NULL -> 0.ru2004-03-171-1/+1
|
* Remove the RAIDframe userland tool.scottl2004-03-165-3031/+0
|
* When installing boot blocks into an Alpha BSD label, setup the location,jhb2004-03-151-0/+10
| | | | | | | | length, and flags fields at the end of the SRM boot sector so that SRM can find the bootstrap code. This fixes bsdlabel -m alpha to generate bootable disklabels. Reviewed by: phk
* Add printing of relevant SATA info where approbiate.sos2004-03-151-9/+31
|
* Validate argument to -i.jmallett2004-03-151-1/+4
|
* Don peril-sensitive glasses and throw the switch to move nologin(8) fromcperciva2004-03-131-1/+0
| | | | | | | | | | | /sbin to /usr/sbin. A symlink from /sbin/nologin -> /usr/sbin/nologin is created for compatibility purposes. This will probably not cause any problems, but anyone who is doing anything particularly unusual with nologin(8) or shells in general might be well advised to check that everything still works. Bikesheds on: cvs-all, current
* Fix 10 year old size-of-bcopy bug.cperciva2004-03-131-1/+1
| | | | | | | | PR: bin/43930 Submitted by: Alan Barrett Approved by: rwatson (mentor) MFNetBSD: revision 1.35 MFC after: 3 days
* The print mask's first part is the base, not the total number of bitru2004-03-121-1/+1
| | | | identifiers.
* Show the polling(4) flag on the interface.ru2004-03-121-1/+1
|
* Fixed mispellings of '\0' as NULL.bde2004-03-111-2/+2
|
* Fixed misspellings of 0 as NULL.bde2004-03-111-2/+2
|
* Fix a long-standing deadlock issue with vnode backed md(4) devices:phk2004-03-102-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | On vnode backed md(4) devices over a certain, currently undetermined size relative to the buffer cache our "lemming-syncer" can provoke a buffer starvation which puts the md thread to sleep on wdrain. This generally tends to grind the entire system to a stop because the event that is supposed to wake up the thread will not happen until a fair bit of the piled up I/O requests in the system finish, and since a lot of those are on a md(4) vnode backed device which is currently waiting on wdrain until a fair amount of the piled up ... you get the picture. The cure is to issue all VOP_WRITES on the vnode backing the device with IO_SYNC. In addition to more closely emulating a real disk device with a non-lying write-cache, this makes the writes exempt from rate-limited (there to avoid starving the buffer cache) and consequently prevents the deadlock. Unfortunately performance takes a hit. Add "async" option to give people who know what they are doing the old behaviour.
* Fixed a misspelling of 0 as NULL.bde2004-03-101-1/+1
|
* Make libgeom usable by C++ programs:jhb2004-03-091-13/+13
| | | | | | | | | | - Add DECL wrappers to libgeom.h. - Rename structure members in libgeom.h to use a lg_ prefix for member names. This is required because a few structures had members named 'class' which made g++ very unhappy. - Catch gstat(8) and gconcat(8) up to these API changes. Reviewed by: phk
* Link pf to the build and install:mlaier2004-03-081-0/+7
| | | | | | | | | | | | | | | | This adds the former ports registered groups: proxy and authpf as well as the proxy user. Make sure to run mergemaster -p in oder to complete make installworld without errors. This also provides the passive OS fingerprints from OpenBSD (pf.os) and an example pf.conf. For those who want to go without pf; it provides a NO_PF knob to make.conf. __FreeBSD_version will be bumped soon to reflect this and to be able to change ports accordingly. Approved by: bms(mentor)
* Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)markm2004-03-055-6/+6
| | | | | | | | | | | | | | | that this provokes. "Wherever possible" means "In the kernel OR NOT C++" (implying C). There are places where (void *) pointers are not valid, such as for function pointers, but in the special case of (void *)0, agreement settles on it being OK. Most of the fixes were NULL where an integer zero was needed; many of the fixes were NULL where ascii <nul> ('\0') was needed, and a few were just "other". Tested on: i386 sparc64
* s/considred/considered/brueffer2004-03-042-2/+2
|
* Make this WARNS=2 clean by:johan2004-03-032-3/+2
| | | | | | | | | - including <timeconv.h> to get _long_to_time prototype - removing an unused variable Bump WARNS to it keep clean. Approved by: ume on ipfw@
* Fix a couple of camcontrol issues that popped up on sparc64:ken2004-03-031-2/+12
| | | | | | | | | | | | - bzero the CCB header in getdevtree() and set the path properly, to avoid having random garbage in the CCB header. - if the lun isn't specified in a device specifier, it should default to 0, not whatever random data happens to be in the lun variable. - move the prototype for getdevtree() out from under #ifndef MINIMALISTIC, since it is used in both cases. Submitted by: Marius Strobl <marius@alchemy.franken.de> (mostly) MFC After: 2 weeks
* Add CTLTYPE_QUAD to the list of types for which we don't want an emptydd2004-03-021-1/+2
| | | | value. All the other numeric types are doing it . . .
* Add skeleton build dirs for pf userland:mlaier2004-02-2813-0/+2298
| | | | | | | | | | | | | | | | | | libexec/ftp-proxy - ftp proxy for pf sbin/pfctl - equivalent to sbin/ipf sbin/pflogd - deamon logging packets via if_pflog in pcap format usr.sbin/authpf - authentification shell to modify pf rulesets Bring along some altq headers used to satisfy pfctl/authpf compile. This helps to keep the diff down and will make it easy to have a altq-patchset use the full powers of pf. Also make sure that the pf headers are installed. This does not link anything to the build. There will be a NO_PF switch for make.conf once pf userland is linked. Approved by: bms(mentor)
* o Remove obsoleted '-N' and '-d' flags.maxim2004-02-281-3/+1
|
* o Sync usage() with reality: add 'z' flag.maxim2004-02-281-1/+2
| | | | MFC after: 1 week
* In the case of a background fsck, periodically update the process titlescottl2004-02-289-0/+47
| | | | with a progress update.
* Look for both name and if_<name> strings in module metadata. Pseudo-deviceskan2004-02-271-1/+2
| | | | | | like tun are naming their modules using the 'if_; prefix and previous version of the code failed to detect their presence in the kernel, resulting in the same module being loaded twice.
* Add a "-l" parameter to mdmfs so that memory file systems can berwatson2004-02-262-1/+7
| | | | | | | | created with the multilabel flag from inception. This simply passes the "-l" flag on to newfs(8). Obtained from: TrustedBSD Project Sponsored by: DARPA, McAfee Research
* Add a "-l" flag to newfs, which sets the FS_MULTILABEL flag. Thisrwatson2004-02-264-2/+11
| | | | | | | | permits users of newfs to set the multilabel flag on UFS1 and UFS2 file systems from inception without using tunefs. Obtained from: TrustedBSD Project Sponsored by: DARPA, McAfee Research
* Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.bms2004-02-2514-162/+368
| | | | | | | | Update <protocols/routed.h> for the MD5 changes requested in bin/35843. Preserve local changes. Education by: obrien, markm, pointy-stick PR: bin/35843 (and doubtless others)
* Fixed missing libraries. This unbreaks the -DNO_DYNAMIC_ROOT andbde2004-02-241-2/+2
| | | | -DNOSHARED=yes cases.
* style.Makefile(5):johan2004-02-2349-49/+49
| | | | Use WARNS?= instead of WARNS=.
* Connect gconcat(8) to the build.pjd2004-02-231-0/+1
| | | | Approved by: scottl (mentor)
* - Connect manual page for gconcat utility to the build.pjd2004-02-232-3/+2
| | | | | | - Fix usage. Approved by: scottl (mentor) (implicity)
* Added manual page for gconcat utility.pjd2004-02-231-0/+141
| | | | | Approved by: scottl (mentor) (implicity) Reviewed by: simon
* Report login attempts to syslog. Due to the statically-linked nature ofcperciva2004-02-222-1/+21
| | | | | | | | | | | nologin(8), this causes a considerable (100K) increase in the binary size, so I've added a NO_LOGIN_LOG option which disables this. While I'm here, s/sizeof(MESSAGE)/sizeof(MESSAGE) - 1/, in order to avoid writing the string-terminating zero byte. No complaints from: -current Approved by: rwatson (mentor)
* change baduser and badgroup from -2 to 65534, 65533rees2004-02-211-17/+13
| | | | | these should probably be looked up instead, but this is better than before also minor format changes for style(9)
* We can cross-reference to vlan(4) as long asyar2004-02-211-15/+38
| | | | | | | | the corresponding manpage has been committed. The rest of "vlan" words, which are refering to the technology itself, should be capitalized. MFC after: 1 week
* The hardware tagging capability is set on the physicalyar2004-02-211-1/+1
| | | | | interface that is parent to a vlan(4) interface, not on the vlan(4) interface itself.
* Mention that securelevel 1 also blocks access to /dev/io if itmux2004-02-201-2/+3
| | | | exists (not all platforms have it).
* Merge from RELENG_4 1.28.2.13: Fix saving system crash dumps larger thantjr2004-02-201-1/+1
| | | | 2 GB by using fseeko() instead of fseek().
* s/bytes/byte/phk2004-02-191-1/+1
|
* Add control utility for disk concatenation (GEOM_CONCAT class).pjd2004-02-192-0/+536
| | | | | Reviewed by: phk, scottl Approved by: scottl (mentor)
* Add a -n option that stops ip6fw making any changes to the rulesdwmalone2004-02-182-29/+58
| | | | | | | in the kernel. Submitted by: Orla McGann <orly@redbrick.dcu.ie> MFC after: 3 weeks
* remove dead coderees2004-02-171-53/+0
| | | | Approved by: alfred
* Report the difference between ufs and ufs2.grog2004-02-172-3/+16
| | | | Submitted by: "Christian S.J. Peron" <maneo@bsdpro.com>
* Explain what console names are valid.grog2004-02-171-0/+5
|
* Recognize if the user supplies the full pathname to /dev/console and friends,grog2004-02-171-1/+27
| | | | | | and DTRT. Explain if he supplies a pathname that is not in /dev.
* Remove unnecessary newlines from errx() arguments.tjr2004-02-171-4/+4
|
* Also remove "makedev" from the online help.le2004-02-161-2/+0
|
OpenPOWER on IntegriCloud