summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Various style.Makefile(5) improvements.pjd2004-05-203-11/+15
| | | | Provoked by: ru
* Clean up language.ru2004-05-201-261/+293
| | | | Reviewed by: rik
* Whitespace cleanup.des2004-05-201-22/+22
|
* Fix supposed compilation problem, using LIBDIR here can confuse core/pjd2004-05-203-2/+3
| | | | compilation.
* - Connect geom(8) and its libraries to the build.pjd2004-05-201-1/+1
| | | | | | | | - Connect geom_stripe and geom_nop modules to the build. - Connect STRIPE and NOP classes to the LINT build. - Disconnect gconcat(8) from the build. Supported by: Wheel - Open Technologies - http://www.wheel.pl
* Introduce geom(8)-specific shared libraries for CONCAT, STRIPE and NOPpjd2004-05-206-0/+515
| | | | | | | GEOM classes. CONCAT should be 100% compatible with existing gconcat(8) utility, which is going to be removed. Supported by: Wheel - Open Technologies - http://www.wheel.pl
* Bring in geom(8) utility. It is an universal utility for operating onpjd2004-05-209-0/+1146
| | | | | | | | | | | | GEOM classes. It works by loading a shared library via dlopen(3) mechanism with class-specific code, it is also responsible for communicating with GEOM via libgeom(3). Per-class shared libraries are going to be stored in /lib/geom/ directory. It provides also few standard commands like 'list', 'load' and 'unload' for existing classes which aren't aware of geom(8). More info will be send on freebsd-current@ mailing list. Supported by: Wheel - Open Technologies - http://www.wheel.pl
* Improve the delay algorithm used in bgfsck. From the author:scottl2004-05-181-4/+6
| | | | | | | | | | | | | | | shuffles the timing and sleep calls in bgfsck from: sleep timer_on io timer_off io io io io io io io to sleep io io io io io io io timer_on io timer_off The original method basically guaranteed that the timed I/O included a disk seek every time, which made bgfsck sleep for much longer than necessary. Submitted by: Dan Nelson Reviewed by: kirk
* Remove spurious semicolons.stefanf2004-05-181-2/+2
| | | | | Approved by: das (mentor) Reviewed by: ipfw@
* Markup overhaul.ru2004-05-181-269/+389
|
* Markup nits.ru2004-05-171-8/+15
|
* Correct existing usage lines, add two more.ru2004-05-171-3/+11
|
* Markup nits.ru2004-05-171-13/+12
|
* Markup and grammar nits.ru2004-05-171-26/+21
|
* Markup overhaul.ru2004-05-171-88/+75
|
* Assorted markup, grammar, and spelling fixes.ru2004-05-1719-137/+166
|
* Reapply local changes that got simply axed by the latest KAME merge.ru2004-05-171-21/+42
| | | | Fixed some more markup.
* Added -l to usage().ru2004-05-171-2/+2
|
* Use WARNS?=3 for these in the arm case for now, due to toolchain issues.cognet2004-05-144-0/+19
|
* check if the null encryption is supported or not.ume2004-05-131-1/+11
| | | | | Requested by: bms Obtained from: KAME
* Polish the mdoc(7) markup.ru2004-05-123-70/+60
|
* Use strlcpy(3) instead of strcpy(3).hmp2004-05-101-3/+3
| | | | | | PR: 46761 Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
* Remove redundant sanity check before add_mac() when addingcsjp2004-05-091-2/+0
| | | | | | | | | mac ipfw rules. The exact same sanity check is performed as the first operation of add_mac(), so there is no sense in doing it twice. Approved by: bmilekic (mentor) PR: bin/55981
* Teach route(8) how to deal with root being in a prison. If prisoncsjp2004-05-071-0/+4
| | | | | | | | | | root is allowed to create raw sockets, then they will be able to create routing sockets, too. However prison-root is not able to manipulate routing tables. So when route(8) attempts to write to a routing socket and recieves EPERM from the kernel, exit rather than moving on with execution. Approved by: bmilekic (mentor)
* When editing a Sun label, make the search for a valid partition linejoerg2004-05-041-4/+21
| | | | | | | violate POLA a little less by not requiring exactly two spaces in front of the entry (and silently discarding any non-matching entry). We now recognize anything starting with a letter followed by a colon as the first non-space chars as a partition entry.
* Include <sys/time.h> for the declaration of struct bintime instead ofbde2004-05-041-0/+1
| | | | | | depending on namespace pollution in <sys/stat.h>. struct bintime is only needed to satisfy leakage of kernel interfaces to userland and namespace bugs in those interfaces...
* Add missing command.pjd2004-05-031-1/+1
|
* Add missing commands.pjd2004-05-031-1/+2
|
* Connect ggatec(8), ggated(8) and ggatel(8) to the build.pjd2004-05-031-0/+1
|
* Don't repeat handshake.pjd2004-05-031-4/+4
| | | | | | | | | | | | | | | This little thing can cause a deadlock, because taste mechanism start to work after creation of ggate provider and I/O requests are sent from other classes from the g_event thread, so number of pending events isn't 0. Now ggatec(8) start second handshake and ggated(8) is trying to open GEOM provider (for example md(4)) and it can't, because it hangs on g_waitidle() in g_dev_open(). g_waitidle() cannot finish because there is a pending read on event queue, and this read can't be finished, because ggated(8) can't open target device. GEOM Gate will recover from this deadlock, because requests will timeout, but it of course isn't the best solution and I don't know better one for now, so we should avoid opening GEOM providers while there are pending requests in event queue.
* Link state change notification of ethernet media to the routing socket.andre2004-05-031-1/+14
| | | | | | | o Print the link state for interface messages in monitor mode. No objections by: sam, wpaul, ru, bms Brucification by: bde
* Paths correction.pjd2004-05-033-6/+6
| | | | Pointed out by: ache, make buildworld
* We don't need this any more, while we have /usr/include/geom/concat/.pjd2004-05-031-1/+0
|
* Fix compiling on 64-bit architectures.pjd2004-05-024-4/+4
|
* Build gpt(8) on all platforms, except sparc64. Currently gpt(8) ismarcel2004-05-011-2/+4
| | | | | | not endian agnostic and thus will create big-endian GPTs on sparc64. This we don't support. So, before gpt(8) can be used on a big-endian machine, it has to deal with the endianness.
* For both ifconfig and route if we didn't get enough memory from theambrisko2004-04-302-6/+32
| | | | | | | | | | | prior sysctl due to the structure growing between calls try again. Also try again for deleting routes if things fail. We've seen route -f fail this way which does not actually flush all routes. This fixes it. It will whine but it will do the work. PR: 56732 Obtained from: IronPort
* GEOM Gate network daemon.pjd2004-04-303-0/+774
|
* GEOM Gate network client and control utility.pjd2004-04-303-0/+708
|
* GEOM Gate local control utility.pjd2004-04-303-0/+497
|
* Stuff shared between ggate utilities.pjd2004-04-302-0/+473
|
* Makefile for building ggate utilities: ggatel(8), ggatec(8), ggated(8).pjd2004-04-301-0/+5
|
* Invoke tzset(3) within the main loop to catch changes to /etc/localtimeghelmer2004-04-271-0/+2
| | | | | when running as a daemon in the hope that it will fix situations where the CMOS clock was apparently set using the stale TZ offset.
* The previous change to mount(8) to report ufs or ufs2 usedbmilekic2004-04-262-13/+0
| | | | | | | | | | | libufs, which only works for Charlie root. This change reverts the introduction of libufs and moves the check into the kernel. Since the f_fstypename is the same for both ufs and ufs2, we check fs_magic for presence of ufs2 and copy "ufs2" explicitly instead. Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
* Add the option versrcreach to verify that a valid route to theandre2004-04-232-2/+28
| | | | | | | | | | | | | | | | | | | | source address of a packet exists in the routing table. The default route is ignored because it would match everything and render the check pointless. This option is very useful for routers with a complete view of the Internet (BGP) in the routing table to reject packets with spoofed or unrouteable source addresses. Example: ipfw add 1000 deny ip from any to any not versrcreach also known in Cisco-speak as: ip verify unicast source reachable-via any Reviewed by: luigi
* Only compare the interesting part of the bootblock with its backup.tjr2004-04-201-4/+8
| | | | | | | Allow check to proceed with bad backup boot block if we're doing a readonly check. Various typos in comments. Obtained from: NetBSD
* use %zu instead of %zdrees2004-04-151-2/+2
| | | | Requested by: Bruce Evans
* Replace ROUNDUP/ADVANCE with SA_SIZEluigi2004-04-134-34/+7
|
* Add -P arguments for dump(8) and restore(8) which allow the user togreen2004-04-138-39/+176
| | | | | | | | | | | use backup methods other than files and tapes. The -P argument is a normal sh(1) pipeline with either $DUMP_VOLUME or $RESTORE_VOLUME defined in the environment, respectively. For example, I can back up my home to three DVD+R[W]s as so: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s2e 40028550 10093140 26733126 27% /home green# dump -0 -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /home
* Improve the warnings for dump -L and do not bother doing the snapshot ifgreen2004-04-122-3/+11
| | | | | | | it is specified for read-only filesystems. Submitted by: Jason Young <jyoung8607@hotmail.com> PR: 46672
* Document that -m also causes the capability list to be displayed.ru2004-04-111-1/+1
|
OpenPOWER on IntegriCloud