summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2009-08-21remove the ``;'' at the end of INDENT() macro definition usingAlexandre Ratchov
the ``do { ... } while (0)'' construct. ok henning, from Frederic Culuot <frederic _at_ culot.org>
2009-08-15remove superfluous .Ar macro before ellipsis.Igor Sobrado
2009-08-13remove description of link0 for vlan interfaces; this part missed whenStuart Henderson
vlan link0 was replaced with IFCAP_VLAN_HWTAGGING in 2001. prompted by a mail from Insan Praja. ok deraadt@
2009-08-12Crank the /usr sizes in the large configurationTheo de Raadt
ok krw otto
2009-08-12Add support for SENSOR_WATTS.Mark Kettenis
ok deraadt@, oga@
2009-08-09document fat permissions a little better, based on some notes from martynasJason McIntyre
feedback/ok sobrado martynas
2009-08-07sets modes for dirs; too. ok sobrado@ & jmc@.Martynas Venckus
2009-08-07if buffers overlap; result will be undefined. ok claudio@, michele@Martynas Venckus
2009-08-07move editor_allocspace & mpsave out to extern.h so that disklabel.cMartynas Venckus
gets the declarations it uses. ok krw@
2009-08-04Specify an ID-type of IPV4_ADDR or IPV6_ADDR if the srcid or dstid isJoel Sing
given as an IPv4 or IPv6 address, rather than treating the IP address as a FQDN. ok hshoexer@ markus@ todd@
2009-07-31Allow hotspares to be added to bio devices rather than requiring an sdJoel Sing
device. "Yeah!" marco@
2009-07-31bioctl.8 should not try to keep track of all devices which can use it;Jason McIntyre
ok marco cnst
2009-07-30Xr cac(4) && mpi(4); ok marcoConstantine A. Murenin
2009-07-28Bring back rev. 1.560:Claudio Jeker
Make it possible to use DiffServ Code Point in the TOS fields. Requested by deraadt@
2009-07-27When will people learn to commit their .h file changes?Theo de Raadt
2009-07-27As is already the case for ffs, do not allow creation of msdos file systemsAlexander Hall
on block devices ok marco@
2009-07-27Make it possible to use DiffServ Code Point in the TOS fields. Names likeClaudio Jeker
af11, cs6 and ef will now be mapped to the coresponding TOS value. OK henning@, sthen@, mcbride@
2009-07-27add a section on automatic disk allocation, to give an idea ofJason McIntyre
how -A and A will carve up your disk; help/ok krw deraadt
2009-07-24properly sanitize the default value in ask_num(...)Alexander Hall
2009-07-23Always print interface names, not just ifindex, even when -n isStuart Henderson
specified. Most people want -n to avoid reverse DNS lookups, and it's stupid not to print a useful interface name just for that. YES PLEASE! Ok claudio@
2009-07-23Only print unknown in RTM_IFINFO messages when the link is inClaudio Jeker
LINK_STATE_UNKOWN. In the other case use LINK_STATE_IS_UP() to print either "up" or "down". OK henning@, sthen@
2009-07-19if variable has a NOAUTO flag set; skip printing.Martynas Venckus
requested & diff tested by david@ ok miod@
2009-07-19use addr_eq() where we can; ok krw@Kevin Steves
2009-07-15now that set print is in one place; it is possible to suppress varMartynas Venckus
making n flag work as expected for set. ok miod@
2009-07-15for rw query and print value that has actually been set in theMartynas Venckus
similar way that mixerctl does. so that info for setting things like brightness makes sense (since we scale, like, 8 values to per-cent). also, it consistifies get/put, shrinks code since we don't need to do that in every single 'driver'. ok miod@
2009-07-09repair -xHenning Brauer
since all this stuff is transactional now we need to wrap that into DIOCXBEGIN/COMMIT. bad henning forgot to commit this chunk at c2k9
2009-07-03Add a wsdisplay type for an upcoming driver for the Sun XVR-100 framebuffer.Mark Kettenis
ok deraadt@
2009-06-27Mark MPLS routes with T (tagged) in route output.Michele Marchetto
suggested by dlg@, ok claudio@, laurent@, blambert@
2009-06-26since nitems() is not yet fit for userland consumption, provide itTheo de Raadt
ourselves ok krw
2009-06-25Add a missing RTM_VERSION check.Claudio Jeker
Tested and OK sthen@, OK henning@
2009-06-25Add missing RTM_VERSION check. This is needed before accessing other dataClaudio Jeker
from routing messages retrieved via routing socket or sysctl. Tested and OK sthen@, OK henning@
2009-06-25Document how to add static MPLS labels.Michele Marchetto
input jmc@, ok claudio@
2009-06-23tweak previous;Jason McIntyre
2009-06-21fix rcs ids. ok sthen@Martynas Venckus
2009-06-20If the user didn't specify a kernel, pass in NULL to kvm_openfiles()Todd C. Miller
so it can try /dev/ksyms. The first call to kvm_openfiles() was already correct.
2009-06-19after long discussion with many...Henning Brauer
ifconfig <if> inet6 used to print all inet6 addresses, and last not least the installer relies on that behaviour. so don't. to turn inet6 on again you have to assign any inet6 address or run rtsol. nobody happy about this asymmetry, but that is the best we could come up with for now.
2009-06-19Document the defer option for pfsync(4) interfaces. ok dlg@Stuart Henderson
2009-06-18fix crypto raid error messageAlexander Hall
ok marco@
2009-06-17Bring bioctl back to reality by adding rebuild and documenting RAID 4 & 5.Marco Peereboom
ok jordan
2009-06-17Add raid 4 & 5 in createMarco Peereboom
ok jordan
2009-06-14enable support for deferring the packet that creates a state so that yourDavid Gwynne
sync peers are able to get the states before the replies. previously there was a race where the reply could hit a partner firewall before it had the state for it, which caused the reply to get processed by the ruleset which probably would drop it. this behaviour is off by default because it does delay packets, which is only wanted in active-active firewalls or when an upstream router is slow to learn that you're moved the active member of the pfsync cluster. it also uses memory keeping the packets in the kernel. use "ifconfig pfsync0 defer" to enable it, "ifconfig pfsync0 -defer" to disable. tested by sthen@ who loves it. he's got manpage changes coming up for me.
2009-06-13mention the number of special devices requiredAlexander Hall
for the different disciplines.
2009-06-12state_panic() tries the active then other valid leases by setting theKevin Steves
interface to each address and trying to ping the gateway. This will trigger an RTM_NEWADDR message. routehandler() only checks for the active and alias address in RTM_NEWADDR messages, so we can exit when state_panic() and the message address is on client->leases. routehandler() needs to also check client->leases. testing krw, 'I say commit' krw
2009-06-11remove unused variableCharles Longeau
ok claudio@
2009-06-11'd *' == 'z' == zero_partitions(). Mount point info needs to beKenneth R Westerback
cleared in both cases. So just do it inside zero_partitions() since we are looping over all the partitions there anyway. Should fix an install corner case discovered by todd@.
2009-06-07Add KERN_FILE2 sysctl analogous to KERN_PROC2 but for file structures,Todd C. Miller
along with vnode type-specific info to make it more useful for fstat(1). OK deraadt@
2009-06-06mention that the timeout is in milliseconds... because i always forget.Chris Kuethe
2009-06-06Uninitialized variable causing havoc on flush. Found by rivo nurgesClaudio Jeker
2009-06-06Nuke debug() unless DEBUG is defined. Elminates debug output fromKenneth R Westerback
normal operations. Prodded by deraadt@ a while ago.
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
ok claudio@, henning@