summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove -I from CFLAGS. This splipped in with the 3.5 import (as I wasmlaier2004-10-031-1/+0
| | | | | | building on a box with older pfvar.h installed). Didn't intend to commit it. Requested by: ru (on a C&P to ipfw's Makefile)
* Add support to IPFW for matching by TCP data length.green2004-10-032-0/+29
|
* Add the documentation for IPFW's diverted(-loopback|-output) matches.green2004-10-031-0/+8
|
* Add support to IPFW for classification based on "diverted" statusgreen2004-10-031-0/+35
| | | | (that is, input via a divert socket).
* Remove accidentally-added O_DIVERTED section.green2004-10-031-17/+0
|
* Add to IPFW the ability to do ALTQ classification/tagging.green2004-10-033-33/+258
|
* Fix a deadlock in ggatel(8) simlar to one which was fixed some timepjd2004-10-021-1/+1
| | | | | | ago in md(4). Submitted by: Ivan Voras <ivoras@fer.hr>
* Fixed desctiptions of some options:ru2004-09-301-18/+6
| | | | | | | | | | - Document better what the -C option means. - The -c option is currently a no-op. - The -D and -h options do not allow switching between single/dual console modes and internal/video consoles. (This used to be true for the old biosdisk boot code, but now they just force the multiple consoles mode and serial console, respectively.)
* FreeBSD has full support for multiple consoles since 2001.ru2004-09-301-7/+1
|
* o Store timestamp in network byte order.maxim2004-09-301-4/+15
| | | | | | | | | o Remove an assumption sizeof(struct timeval) == 8 (this is not true on sparc64). Reviewed by: imp, -hackers Obtained from: NetBSD (rev. 1.75) MT5 after: 1 month
* This is a small tool which will read an entire disk(partition) usingphk2004-09-282-0/+149
| | | | | | | | | | | | | | | | | | | | 1M blocks and optionally write the read data to a file or disk. If a read error happens, the 1M block gets put on the end of the worklist and will be retried with 64k blocksize. If a read error happens again, the 64k block gets put at the end of the worklist and will be retried with single sector reads. The program keeps trying until you stop it. You can refresh a disk: recoverdisk /dev/ad1 /dev/ad1 or salvage a floppy: recoverdisk /dev/fd0 myfloppy.flp
* Turns out that revision 1.52 was a bad idea. It broke the longimp2004-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | standing ability to list a non-existant device in /etc/ttys to keep it from dying. This is a documented feature of init(8): The init utility can also be used to keep arbitrary daemons running, automatically restarting them if they die. In this case, the first field in the ttys(5) file must not reference the path to a configured device node and will be passed to the daemon as the final argument on its com- mand line. This is similar to the facility offered in the AT&T System V UNIX /etc/inittab. So rather than fix the man page to 'break' this feature, back out the change. At the time this change was made, people felt that the spamage from getty was annoying on headless consoles. Andrew Gallatin noted: > Most of my machines are headless without video cards and use a serial > console. With devfs this means that /dev/ttyv[1-N] do not exist and > getty bitches like this: > > Sep 26 11:00:11 monet getty[543]: open /dev/ttyv1: No such file or directory and we went off and applied this hack rather than fixing getty to sleep forever when it gets an unknown device, as was Andrew's other suggestion. Since it breaks things, I'm off to do that instead.
* Embellish the man page after trying to migrate to gstripe from ccd(4).obrien2004-09-261-4/+27
|
* Don't allow to specify wrong stripe size.pjd2004-09-261-1/+11
| | | | Reported by: obrien
* Sort the SEE ALSO list correctly. Update the document date.brooks2004-09-231-2/+2
| | | | Reported by: ru
* Refrence bsdlabel.8 and bsdlabel.5 rather then the obsolete disklabel.8brooks2004-09-231-3/+3
| | | | | | | | and disklabel.5. Refrencing bsdlabel.5 is somewhat bogus as it is not connected to the build and is mostly unwritten at this point. Reported by: Matthias Andree <matthias.andree at web.de> PR: docs/72020
* Since "d" is an array of 32 bit values, it is morecsjp2004-09-211-1/+1
| | | | | | correct to change the cast from unsigned int to uint32_t. Pointed out by: luigi
* Prepare for 5.x soon becoming -STABLE.ru2004-09-191-8/+8
| | | | Pointed out by: -current users
* Fix '-s' option for large disks and fix printing maximum file system size.pjd2004-09-191-4/+7
|
* Document '-p' flag for 'insert' command correct.pjd2004-09-181-3/+4
|
* Use correct format string.le2004-09-171-1/+1
| | | | Submitted by: ssouhlal
* Do not exit after printing usage, give geom(8) a chance to show standardpjd2004-09-172-2/+0
| | | | commands.
* - Show all commands in usage, even if those commands are not available.pjd2004-09-171-19/+32
| | | | | - When command is not available, just say it, instead of says, that command is unknown. Old behaviour seems to be too confusing.
* - Make md(4) 64-bit clean.pjd2004-09-163-19/+47
| | | | | | | | | After this change it should be possible to use very big md(4) devices. - Clean up and simplify the code a bit. - Use humanize_number(3) to print size of md(4) devices. - Add 't' suffix which stands for terabyte. - Make '-S' to really work with all types of devices. - Other minor changes.
* Distinguish between TCQ and NCQ type of tagged queing.sos2004-09-151-9/+11
|
* Make 'ipfw tee' behave as inteded and designed. A tee'd packet is copiedandre2004-09-131-13/+2
| | | | | | | | | | and sent to the DIVERT socket while the original packet continues with the next rule. Unlike a normally diverted packet no IP reassembly attemts are made on tee'd packets and they are passed upwards totally unmodified. Note: This will not be MFC'd to 4.x because of major infrastucture changes. PR: kern/64240 (and many others collapsed into that one)
* WARNS=4 safe.alfred2004-09-121-3/+11
|
* Fix build.alfred2004-09-121-5/+7
|
* Hook mount_autofs to the build.alfred2004-09-121-0/+1
|
* Currently when ipfw(8) generates the micro-instructions for rules whichcsjp2004-09-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | contain O_UID, O_GID and O_JAIL opcodes, the F_NOT or F_OR logical operator bits get clobbered. Making it impossible to use the ``NOT'' or ``OR'' operators with uid, gid and jail based constraints. The ipfw_insn instruction template contains a ``len'' element which stores two pieces of information, the size of the instruction (in 32-bit words) in the low 6 bits of "len" with the 2 remaining bits to implement OR and NOT. The current code clobbers the OR and NOT bits by initializing the ``len'' element to the size, rather than OR'ing the bits. This change fixes this by changing the initialization of cmd->len to an OR operation for the O_UID, O_GID and O_JAIL opcodes. This may be a MFC candidate for RELENG_5. Reviewed by: andre Approved by: luigi PR: kern/63961 (partially)
* o Initialize a local variable and make gcc happy.maxim2004-09-101-0/+2
| | | | | PR: bin/71485 Submitted by: Jukka A. Ukkonen
* Fix a type bug which sometimes wrote unusable lock sectors on the disk.phk2004-09-101-2/+2
|
* The disk labels generated by bsdlabel can no address more thanbrooks2004-09-092-7/+22
| | | | | | | | | | | 0xffffffff sectors. Document this limit and avoid installing bogus labels on disks with more sectors. Allowing the installation of labels addressing as much of the disk as possiable may be a useful addition in some situations, but this was easy to implement and should reduce confusion. PR: bin/71408
* add support for documented readonly option...jmg2004-09-081-1/+5
| | | | | | | also print out the option that is unknow so that the user knows what (s)he did wrong.. MFC after: 3 days
* sync with private code:alfred2004-09-083-4/+4
| | | | | fix a 5.x'ism that 4.x needs protection from. make this code compile standalone.
* Fix/clean up return values checking.pjd2004-09-084-31/+31
|
* Allow to setup GBDE on providers which contain '/' in their names,pjd2004-09-061-2/+0
| | | | | | e.g. mirror/<name>, stripe/<name>. Approved by: phk
* Use a spare byte in struct if_data to store the structure size withoutbrooks2004-09-011-1/+4
| | | | | | | | | increasing it. Add code to ifconfig to use this size to find the sockaddr_dl after the struct if_data in the routing message. This allows struct if_data to grow (up to 255 bytes) without breaking ifconfig. Submitted by: peter
* Move back to WARNS=2scottl2004-09-011-1/+1
|
* Create DIP_SET() and IBLK_SET() macros to fix lvalue warnings.scottl2004-09-015-40/+59
| | | | Inspired by: kan
* Enter the autofs.alfred2004-08-313-0/+182
|
* Correct a style bug: remove a gratuitous space between ( and ".trhodes2004-08-311-1/+1
| | | | Ok'ed by: fjoe
* Add a suffix descriptor for the acpi thermal values as a hint for the userlandpeter2004-08-301-2/+12
| | | | sysctl tool to print a more readable value for temperatures.
* When configuring RAID3 with verification option, force synchronizationpjd2004-08-301-0/+7
| | | | | | | of parity component, because we can't return an EIO error for read of every sector which wasn't written first. Discussed with: phk
* o Restore a historical ipfw1 logamount behaviour: rules with 'log'maxim2004-08-291-0/+7
| | | | | | | | | | | keyword but without 'logamount' limit the amount of their log messages by net.inet.ip.fw.verbose_limit sysctl value. RELENG_5 candidate. PR: kern/46080 Submitted by: Dan Pelleg MFC after: 1 week
* Warn the user if we are not going to use the whole provider's space.pjd2004-08-281-1/+21
|
* Warn the user if we are not going to use whole provider space.pjd2004-08-281-5/+9
| | | | Requested by: Michael Handler <handler@grendel.net>
* - If error string begins with "warning: ", don't exit, treat it as a warningpjd2004-08-281-4/+6
| | | | | only. - Use getprogname() function when informing about versions problem.
* Fix 'show' command for pipes and queues.pjd2004-08-231-1/+7
| | | | | | PR: bin/70311 Submitted by: Pawel Malachowski <pawmal-posting@freebsd.lublin.pl> MFC after: 3 days
* Add missing GEOM classes, which are aware of geom(8).pjd2004-08-231-0/+6
| | | | Submitted by: kuriyama
OpenPOWER on IntegriCloud