aboutsummaryrefslogtreecommitdiff
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Make 'struct acl' larger, as required to support NFSv4 ACLs. ProvideEdward Tomasz Napierala2009-05-221-1/+1
| | | | | | | | | compatibility interfaces in both kernel and libc. Reviewed by: rwatson Notes: svn path=/head/; revision=192586
* Remove the unmaintained University of Michigan NFSv4 client from 8.xRobert Watson2009-05-227-753/+6
| | | | | | | | | | prior to 8.0-RELEASE. Rick Macklem's new and more feature-rich NFSv234 client and server are replacing it. Discussed with: rmacklem Notes: svn path=/head/; revision=192578
* Add links to libgeom(3) where appropriate.Edward Tomasz Napierala2009-05-191-0/+1
| | | | Notes: svn path=/head/; revision=192376
* Do no spam the ifconfig output for the aggregated interface with 'laggdev ↵Andrew Thompson2009-04-301-2/+1
| | | | | | | laggX'. Notes: svn path=/head/; revision=191693
* Slightly improve gjournal documentation.Edward Tomasz Napierala2009-04-293-2/+8
| | | | | | | Reviewed by: pjd Notes: svn path=/head/; revision=191656
* Let pflogd's Makefile just use WARNS instead of changing CFLAGS.Ed Schouten2009-04-231-1/+2
| | | | | | | | | This change allows me to disable -Werror by using NO_WERROR. Right now I can't build pflogd using Clang, because Clang generates more warnings when passing -Wall. Notes: svn path=/head/; revision=191415
* Correct the information about when the respective functionality firstChristian Brueffer2009-04-231-1/+1
| | | | | | | | | | | appeared in FreeBSD. PR: 133785 Submitted by: Ulrich Spoerlein <uqs@spoerlein.net> MFC after: 3 days Notes: svn path=/head/; revision=191414
* ifconfig(8) no longer needs to know how to print the IFF_NEEDSGIANT flag,Robert Watson2009-04-181-1/+1
| | | | | | | since it shortly won't be defined at all. Notes: svn path=/head/; revision=191252
* The structs ifaliasreq and in_aliasreq have exactly the same layout andBrooks Davis2009-04-151-2/+2
| | | | | | | | | member names, but we really do mean to use in_aliasreq here. MFC after: 1 week Notes: svn path=/head/; revision=191121
* Extend route command:Kip Macy2009-04-142-11/+24
| | | | | | | | | | | | | - add show as alias for get - add weights to allow mpath to do more than equal cost - add sticky / nostick to disable / re-enable per-connection load balancing This adds a field to rt_metrics_lite so network bits of world will need to be re-built. Reviewed by: jeli & qingli Notes: svn path=/head/; revision=191080
* Style fixes to the newfs_msdos manpage.Ed Schouten2009-04-111-8/+9
| | | | | | | Submitted by: Christoph Mallon <christoph mallon gmx de> Notes: svn path=/head/; revision=190936
* Update documentation (forgotten in r190929).Ed Schouten2009-04-111-4/+5
| | | | | | | Submitted by: Christoph Mallon <christoph mallon gmx de> Notes: svn path=/head/; revision=190933
* Do not prepend /dev/ when -C is used.Ed Schouten2009-04-112-5/+7
| | | | | | | Submitted by: Christoph Mallon <christoph mallon gmx de> Notes: svn path=/head/; revision=190932
* When using -C, do not warn when the file is not a character device, but warn ↵Ed Schouten2009-04-111-2/+7
| | | | | | | | | when it is not a regular file. Submitted by: Christoph Mallon <christoph mallon gmx de> Notes: svn path=/head/; revision=190931
* Fix a bug in r185587.Ed Schouten2009-04-111-2/+3
| | | | | | | | | | fstat(fd, &sb) was not executed unconditionally anymore so sb was read uninitialised when -C is used. Submitted by: Christoph Mallon <christoph mallon gmx de> Notes: svn path=/head/; revision=190930
* Use ftruncate() instead of lseek()+write()+lseek() to set the createdEd Schouten2009-04-111-5/+1
| | | | | | | | | file (-C) to the requested size. Submitted by: Christoph Mallon <christoph mallon gmx de> Notes: svn path=/head/; revision=190929
* De-static local variables in main() (which is not recursive) and const-ifyEd Schouten2009-04-111-10/+10
| | | | | | | | | others. Submitted by: Christoph Mallon <christoph mallon gmx de> Notes: svn path=/head/; revision=190927
* Show -@ and -C in usage, which were added in r185587.Ed Schouten2009-04-111-0/+2
| | | | | | | Submitted by: Christoph Mallon <christoph mallon gmx de> Notes: svn path=/head/; revision=190925
* Clean up the usage() function to use a single fprintf().Ed Schouten2009-04-111-26/+25
| | | | | | | Submitted by: Christoph Mallon <christoph mallon gmx de> Notes: svn path=/head/; revision=190924
* Fix broken case where caused by last patch whereRandall Stewart2009-04-111-1/+2
| | | | | | | | a user uses 0.0.0.0/0 as an alias for default. Obtained from: Mykola Dzham (freebsd@levsha.org.ua) Notes: svn path=/head/; revision=190913
* Kill hard sentence break added in the previous revision.Tom Rhodes2009-04-111-1/+4
| | | | Notes: svn path=/head/; revision=190911
* Bump doc date for previous changes.Tom Rhodes2009-04-111-1/+1
| | | | Notes: svn path=/head/; revision=190910
* - Better wording in comment.Ulf Lilleengen2009-04-101-1/+1
| | | | | | | Suggested by: Christoph Mallon <christoph.mallon - at - gmx.de> Notes: svn path=/head/; revision=190891
* - Implement the grow command to make it easier for users to extend plexesUlf Lilleengen2009-04-102-7/+95
| | | | | | | | | without having to understand all gvinum internals. - Document the grow command in the manpage and update examples to use the command where possible. Notes: svn path=/head/; revision=190884
* - Move logic for finding a unique drive name into its own routine for futureUlf Lilleengen2009-04-101-5/+12
| | | | | | | code reuse. Notes: svn path=/head/; revision=190882
* - Move out allocation part of different gvinum objects into its own routine andUlf Lilleengen2009-04-101-2/+1
| | | | | | | make use of it in the gvinum userland code. Notes: svn path=/head/; revision=190881
* Add emulation of delay profiles, which lets you model variousLuigi Rizzo2009-04-093-2/+403
| | | | | | | | | | | | | | | | | | | | | | | types of MAC overheads such as preambles, link level retransmissions and more. Note- this commit changes the userland/kernel ABI for pipes (but not for ordinary firewall rules) so you need to rebuild kernel and /sbin/ipfw to use dummynet features. Please check the manpage for details on the new feature. The MFC would be trivial but it breaks the ABI, so it will be postponed until after 7.2 is released. Interested users are welcome to apply the patch manually to their RELENG_7 tree. Work supported by the European Commission, Projects Onelab and Onelab2 (contract 224263). Notes: svn path=/head/; revision=190865
* o Grammar.Maxim Konovalov2009-04-081-3/+3
| | | | Notes: svn path=/head/; revision=190851
* Various cleanup of text, moving a couple of paragraphsLuigi Rizzo2009-04-081-88/+99
| | | | | | | | | | | | above to avoid referencing undefined terms (humans are not compilers but still care about these things). Change some .Sh to .Ss to better reflect the structure of the text. No new content. Notes: svn path=/head/; revision=190846
* Remove contractions, reword a sentence to avoid a double negative,Tom Rhodes2009-04-071-3/+4
| | | | | | | | | and bump document date for previous change. OKed by: piso Notes: svn path=/head/; revision=190799
* Ok, looking at the solution a bit closer, the levelRandall Stewart2009-04-061-4/+4
| | | | | | | | | | | | | | calculation was too agressive. Instead we should only look at each nibble. This makes it so we make 10.2.0.0 become 10.2/16 NOT 10.2/17. Need to explore the non-cidr address issue. The two may not be seperable.. MFC after: 1 week Notes: svn path=/head/; revision=190775
* Class based addressing went out in the early 90's. BasicallyRandall Stewart2009-04-061-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | if a entry is not route add -net xxx/bits then we should use the addr (xxx) to establish the number of bits by looking at the first non-zero bit. So if we enter route add -net 10.1.1.0 10.1.3.5 this is the same as doing route add -net 10.1.1.0/24 Since the 8th bit (zero counting) is set to 1 we set bits to 32-8. Users can of course still use the /x to change this behavior or in cases where the network is in the trailing part of the address, a "netmask" argument can be supplied to override what is established from the interpretation of the address itself. e.g: route add -net 10.1.1.8 -netmask 0xff00ffff should overide and place the proper CIDR mask in place. PR: 131365 MFC after: 1 week Notes: svn path=/head/; revision=190758
* Only raise WARNS to 6 on i386 and amd64, strict alignment platforms stillPoul-Henning Kamp2009-04-061-0/+4
| | | | | | | | barf at some of the gratuitous pointer gymnastics, and I do not see a simple solution. Notes: svn path=/head/; revision=190757
* Remove if_ppp(4) and if_sl(4).Ed Schouten2009-04-057-1705/+0
| | | | | | | | | | | | | | | | Not only did these two drivers depend on IFF_NEEDSGIANT, they were broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been replaced by ppp(8). There is no replacement for if_sl(4). If we see regressions in for example the ports tree, we should just use __FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are present. Version 800045 is used to denote the import of MPSAFE TTY. Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the lists. Notes: svn path=/head/; revision=190751
* Silence a printf warningPoul-Henning Kamp2009-04-051-1/+1
| | | | Notes: svn path=/head/; revision=190745
* Add some consts, remove some unused stuff and other attempts to calmPoul-Henning Kamp2009-04-059-31/+15
| | | | | | | FlexeLint down. Notes: svn path=/head/; revision=190718
* Fix casts which are not by definition safe, but which malloc(3)Poul-Henning Kamp2009-04-051-6/+6
| | | | | | | makes safe for us. Notes: svn path=/head/; revision=190717
* Some constificationsPoul-Henning Kamp2009-04-053-5/+7
| | | | Notes: svn path=/head/; revision=190716
* Modernize prototypes (ie: no extern)Poul-Henning Kamp2009-04-0510-175/+157
| | | | | | | Make lots of stuff static. Notes: svn path=/head/; revision=190715
* Improve a bit reass documentation:Paolo Pisati2009-04-051-0/+25
| | | | | | | | -document fragment handling sysctls -mention some caveats about fragments handling (and to deal with it) Notes: svn path=/head/; revision=190714
* Convert list of remote interfaces to LIST_* macrosPoul-Henning Kamp2009-04-053-16/+8
| | | | Notes: svn path=/head/; revision=190713
* Kick WARNS level up to 6 by fixing various trivial warnings.Poul-Henning Kamp2009-04-056-9/+10
| | | | Notes: svn path=/head/; revision=190712
* Use <sys/queue.h> to manage the interface list.Poul-Henning Kamp2009-04-058-41/+35
| | | | Notes: svn path=/head/; revision=190711
* Remove newlines from string argument of __COPYRIGHT(), it results inPoul-Henning Kamp2009-04-051-2/+2
| | | | | | | assembler warning messages. Notes: svn path=/head/; revision=190710
* Send multicast on p2p interfaces if they can and are not prohibitedPoul-Henning Kamp2009-04-051-2/+9
| | | | | | | | | | from doing so with no_rip_mcast in /etc/gateways. This allows routed(8) to work with the way ports/security/openvpn employs the tun(4) interface. Notes: svn path=/head/; revision=190709
* Implement an ipfw action to reassemble ip packets: reass.Paolo Pisati2009-04-014-1/+18
| | | | Notes: svn path=/head/; revision=190633
* Import the gvinum work that have been done during and after Summer of Code 2007.Ulf Lilleengen2009-03-282-99/+605
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The work have been under testing and fixing since then, and it is mature enough to be put into HEAD for further testing. A lot have changed in this time, and here are the most important: - Gvinum now uses one single workerthread instead of one thread for each volume and each plex. The reason for this is that the previous scheme was very complex, and was the cause of many of the bugs discovered in gvinum. Instead, gvinum now uses one worker thread with an event queue, quite similar to what used in gmirror. - The rebuild/grow/initialize/parity check routines no longer runs in separate threads, but are run as regular I/O requests with special flags. This made it easier to support mounted growing and parity rebuild. - Support for growing striped and raid5-plexes, meaning that one can extend the volumes for these plex types in addition to the concat type. Also works while the volume is mounted. - Implementation of many of the missing commands from the old vinum: attach/detach, start (was partially implemented), stop (was partially implemented), concat, mirror, stripe, raid5 (shortcuts for creating volumes with one plex of these organizations). - The parity check and rebuild no longer goes between userland/kernel, meaning that the gvinum command will not stay and wait forever for the rebuild to finish. You can instead watch the status with the list command. - Many problems with gvinum have been reported since 5.x, and some has been hard to fix due to the complicated architecture. Hopefully, it should be more stable and better handle edge cases that previously made gvinum crash. - Failed drives no longer disappears entirely, but now leave behind a dummy drive that makes sure the original state is not forgotten in case the system is rebooted between drive failures/swaps. - Update manpage to reflect new commands and extend it with some examples. Sponsored by: Google Summer of Code 2007 Mentored by: le Tested by: Rick C. Petty <rick-freebsd2008 -at- kiwi-computer.com> Notes: svn path=/head/; revision=190507
* add superg+tdma include files for protocol defs needed to do ie parsingSam Leffler2009-03-261-7/+3
| | | | Notes: svn path=/head/; revision=190456
* Man page accompanying r190423 - introduce UFS ID labels.Ivan Voras2009-03-251-2/+8
| | | | | | | | Actually-by: pjd Approved by: gnn (mentor) Notes: svn path=/head/; revision=190424
* Save (empty) worklist at successful completionPoul-Henning Kamp2009-03-231-0/+1
| | | | Notes: svn path=/head/; revision=190317