summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add a new mount flag MNT_BYFSID that can be used to unmount a fileiedowse2003-07-011-70/+71
| | | | | | | | | | | | | | | | | | system by specifying the file system ID instead of a path. Use this by default in umount(8). This avoids the need to perform any vnode operations to look up the mount point, so it makes it possible to unmount a file system whose root vnode cannot be looked up (e.g. due to a dead NFS server, or a file system that has become detached from the hierarchy because an underlying file system was unmounted). It also provides an unambiguous way to specify which file system is to be unmunted. Since the ability to unmount using a path name is retained only for compatibility, that case now just uses a simple string comparison of the supplied path against f_mntonname of each mounted file system. Discussed on: freebsd-arch mdoc help from: ru
* Remove pathnames.h.gordon2003-06-291-2/+0
| | | | Pointed out by: Mathieu Arnold <mat@mat.cc>
* Tweak a couple of utilities so they compile cleanly for /rescue. Mostlygordon2003-06-292-2/+8
| | | | | | path fixes. Submitted by: Tim Kientzle <kientzle@acm.org>
* Move path definitions to include/paths.h. This makes it easier to overridegordon2003-06-292-14/+5
| | | | | | these definitions in the /rescue case. Submitted by: Tim Kientzle <kientzle@acm.org>
* Convert fsck and mount to using execvP to find fsck_foo and mount_foo.gordon2003-06-294-89/+13
| | | | | | | This simplifies the code path and makes the default path easy to override in the /rescue case. Submitted by: Tim Kientzle <kientzle@acm.org>
* o update for new 802.11 supportsam2003-06-281-2/+6
| | | | o fix channel command so channel - does what the man page says
* remove extra whitespace and blank linesluigi2003-06-271-5/+2
|
* o correct mode request handlingsam2003-06-251-3/+6
| | | | | o add 802.11 alias support o suppress display of the default "mode autoselect" when showing the "phy mode"
* The current recommended default time to live (TTL) for the Internetru2003-06-251-3/+3
| | | | | | | Protocol (IP) is 64 [RFC791, RFC1122]. Prodded by: Igor Kucherenko <kivvy@sunbay.com> Obtained from: http://www.iana.org/assignments/ip-parameters
* remove unused file (RELENG_5 and above use ipfw2, the old ipfw1luigi2003-06-241-2667/+0
| | | | has been unused and unmaintained for a long time).
* Split some long lines to fit 80 columns (the code in RELENG_4luigi2003-06-231-5/+10
| | | | was already correct).
* syntactic sugar: support range notation such asluigi2003-06-231-5/+32
| | | | | | | | | | | | | | | 1.2.3.4/24{5,6,7,10-20,60-90} for set of ip addresses. Previously you needed to specify every address in the range, which was unconvenient and lead to very long lines. Internally the set is still stored in the same way, just the input and output routines are modified. Manpage update still missing. Perhaps a similar preprocessing step would be useful for port ranges. MFC after: 3 days
* o Fix sets of rules usage example.maxim2003-06-231-4/+4
| | | | | | PR: docs/53625 Submitted by: Kostyuk Oleg <cub@cub.org.ua> MFC after: 1 week
* Add support for multiple values and ranges for the "iplen", "ipttl",luigi2003-06-222-29/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | "ipid" options. This feature has been requested by several users. On passing, fix some minor bugs in the parser. This change is fully backward compatible so if you have an old /sbin/ipfw and a new kernel you are not in trouble (but you need to update /sbin/ipfw if you want to use the new features). Document the changes in the manpage. Now you can write things like ipfw add skipto 1000 iplen 0-500 which some people were asking to give preferential treatment to short packets. The 'MFC after' is just set as a reminder, because I still need to merge the Alpha/Sparc64 fixes for ipfw2 (which unfortunately change the size of certain kernel structures; not that it matters a lot since ipfw2 is entirely optional and not the default...) PR: bin/48015 MFC after: 1 week
* Replace the code for reading and writing the kernel message bufferiedowse2003-06-221-3/+1
| | | | | | | | | | | | | | | | | with a new implementation that has a mostly reentrant "addchar" routine, supports multiple message buffers in the kernel, and hides the implementation details from callers. The new code uses a kind of sequence number to represend the current read and write positions in the buffer. This approach (suggested mainly by bde) permits the read and write pointers to be maintained separately, which reduces the number of atomic operations that are required. The "mostly reentrant" above refers to the way that while it is now always safe to have any number of concurrent writers, readers could see the message buffer after a writer has advanced the pointers but before it has witten the new character. Discussed on: freebsd-arch
* Remove another reference to ffsinfo.8brueffer2003-06-171-3/+1
|
* Remove references to ffsinfo(8) for now. It was disconnected frombrueffer2003-06-172-2/+0
| | | | the build almost a year ago.
* Xref police: chmod(8) -> chmod(1).sobomax2003-06-171-1/+1
|
* Compile sunlabel on all archs.phk2003-06-171-4/+1
|
* o Pass a correct argument to printf(3).maxim2003-06-161-3/+4
| | | | | | PR: bin/51750 Submitted by: Vasil Dimov <vd@datamax.bg> MFC after: 2 weeks
* Tighten up the string->integer conversion in sysctl(8):rwatson2003-06-151-5/+25
| | | | | | | | | | | | | | | | | | | (1) Reject zero-length strings for CTLTYPE_INT, _UINT, _LONG, _ULONG. Do not silently convert to 0. (2) When converting CTLTYPE_INT, _UINT, _LONG, and _ULONG, check the end pointer generated by strtol() and strtoul() rather than discarding it. Reject the string if either none of the string was useful for conversion to an integer, or if there was trailing garbage. I.e., we will not allow you to set a numeric sysctl to a value unless we can completely convert the string argument to a numeric value. I tripped over this when I put the following in /etc/sysctl.conf: kern.maxfiles="4000" Ouch.
* Remove MAINTAINER= lines in the makefiles for camcontrol, iostat, libcamken2003-06-141-2/+0
| | | | | | | | and libdevstat, since the new way of doing things is to just list maintainership in src/MAINTAINERS. Also, remove duplicate entries in src/MAINTAINERS for those utilities. I already had entries for them.
* If the -proxy_only option is used, the -alias_address/-interfaceru2003-06-132-4/+9
| | | | | | | options are not required. Suggested by: Vaclav Petricek MFC after: 2 weeks
* Remove label command. It has been deprecated since December 1998, andgrog2003-06-121-37/+1
| | | | | | recent changes broke it altogether. Prompted by: phk
* Remove "label" keyword.grog2003-06-121-2/+1
|
* style clean.obrien2003-06-112-11/+9
|
* Add "-n" argument, which causes mdconfig to simply print the unitrwatson2003-06-112-5/+16
| | | | | | number X, rather than mdX, making it easier to script tests that use md devices but don't want to make assumptions about any existing md use (such as in diskless environments).
* Be consistent about module names.phk2003-06-091-2/+2
|
* GEOMification of CCD.phk2003-06-091-165/+69
| | | | | You need your kernel and ccdconfig(8) to be in sync, particularly if your source tree is on a ccd device.
* Marshal newfs -L (filesystem volume names), the names are not marshalledjmallett2003-06-091-0/+2
| | | | with any quoting, but that should be OK for re-input, regardless.
* .Nm -> .Xrcharnier2003-06-081-3/+4
|
* The .Xr utilitycharnier2003-06-081-2/+3
|
* mount_msdos -> mount_msdosfscharnier2003-06-081-1/+1
|
* Add section number to .Xrcharnier2003-06-083-3/+3
|
* Add section number to .Xrcharnier2003-06-081-1/+1
|
* Augh! Fix the sparc64 build:phk2003-06-071-0/+8
| | | | | If we don't have a default label location for the compiled architecture, insist that a -m <architecture> option is specified.
* Sanitize setting of labeloffset and labelsector.phk2003-06-072-12/+5
|
* Move my maintainership of parts of ipfilter back to Darren Reedguido2003-06-064-4/+4
|
* Give ia64 the exact same semantics as i386 with respect to non-512phk2003-06-041-1/+2
| | | | byte sector devices.
* Unbreak ia64. 'nuff said.marcel2003-06-041-0/+4
|
* Change handling to support strong alignment architectures such as alpha andticso2003-06-041-12/+34
| | | | | | | | sparc64. PR: alpha/50658 Submitted by: rizzo Tested on: alpha
* Further devilification of CCD:phk2003-06-021-122/+29
| | | | | | | Change the list interface to simplify things. Remove old list ioctls which bogusly exported the softc to userland. Move the softc and associated structures from the public header to the source file.
* Use GEOM OAM api to retrive list of configured ccd devices.phk2003-06-022-0/+22
| | | | Link against libgeom.
* Fix sectorsize != 512 on i386 and pc98. Add test cases for same.phk2003-06-022-21/+39
|
* Assorted mdoc(7) fixes.ru2003-06-021-37/+42
|
* Fix SIGINFO handling: do not print incorrect timing statisticsmaxim2003-06-021-6/+6
| | | | | | when the data for it is not available. Founded by: ping -s0 localhost; press ^T
* Simplify the GEOM OAM api: Drop the request type, and let everythingphk2003-06-013-12/+14
| | | | | | | | hinge on the "verb" parameter which the class gets to interpret as it sees fit. Move the entire request into the kernel and move changed parameters back when done.
* Add pc98 arch to test set.phk2003-06-011-2/+2
| | | | Remove ktrace which leaked out of test-setup.
* Protext copyright[].obrien2003-05-311-3/+2
|
* mdoc(7) fixes.ru2003-05-242-28/+31
| | | | Approved by: re (blanket)
OpenPOWER on IntegriCloud