summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix the case where fsck would not see sparse directories and the kernel wouldguido1996-10-0816-5/+220
| | | | | | | panic. If such a thing is fixed fsck needs a rerun (and bugs the user to do so). Reviewed by: Kirk McKusick
* delete doubled words, e.g.: "the the" -> "the"wosch1996-10-053-5/+6
|
* When MODE SELECT'ing, the ``device-specific parameter'' field isjoerg1996-10-051-2/+2
| | | | | | | reserved by the SCSI-2 specs. Hence, zero it out. Some drives (correctly) complain about this otherwise. Reviewed by: craigs@os.com (Craig Shrimpton)
* Back out my -k changes; there's a better way to do this in the short-term.jkh1996-10-022-14/+5
|
* Add support for dset'ing an arbitrary kernel (experimental).jkh1996-10-012-9/+19
|
* Updates to deal with ld.so.hints version 2. It now deals with thepeter1996-10-012-18/+53
| | | | | | | | ldconfig path (from NetBSD). I added code to make sure there were no duplicates in the path when multiple ldconfig -m's were used. Reviewed by: nate, jdp Obtained from: NetBSD (partly)
* Get rid of useless -f flag (though left for historical reasons).guido1996-09-302-3/+15
|
* .Os NetBSD -> .Os FreeBSD.wosch1996-09-281-1/+1
| | | | The pages are not NetBSD specific and FreeBSD is not a child of NetBSD.
* Removed references to pathconf-related variables that were never handledbde1996-09-281-10/+3
| | | | | | | | | | by sysctl and never can be in their documented form (kern.name_max would have to become fs.filesystemname.name_max, etc.). Added missing references to user.stream_max and user.tzname_max. These seem to misnamed. <sys/sysconf.h> says that they correspond to POSIX2 names, but the sysconf names don't have POSIX2 or "posix2" like all the other POSIX2 names.
* Add chlen command so you can set the size of an inode. This was handyguido1996-09-261-0/+23
| | | | | | in order to create sparse directory files that caused a panic of a filesystem where fsck would not find anything. A fix for fsck is in the make but still has to be reviewed by Kirk McKusick.
* Eliminated includes of the "temporary" backwards compatibility headerbde1996-09-242-3/+3
| | | | | | <sys/dir.h> in applications. Maintained existing (inadequate) ifdefs for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any new ones.
* add missing comma(s) in .Xr macroswosch1996-09-233-6/+9
|
* Who would have though that dmesg didn't understand message buffers?bde1996-09-211-8/+16
| | | | | | | | | | | | | Fixed the following bugs: - the buffer was reprinted endlessly when msg.bufx == 0 and (for a different reason) when msg.bufx == 1. - the last byte of the buffer wasn't printed except in the the infinite loop cases. - the comment about walking the buffer didn't match the (correct) code. - minor -Wall and style bugs. Not fixed: - excessive newline processing which hid the non-printing of the last byte of the buffer.
* ts_sec -> tv_secnate1996-09-202-4/+4
| | | | ts_nsec -> tv_nsec
* ts_sec -> tv_secnate1996-09-204-19/+19
| | | | ts_nsec -> tv_nsec
* ts_sec -> tv_secnate1996-09-205-13/+13
| | | | ts_nsec -> tv_nsec
* rdisc functionality has been incorporated into routedpst1996-09-163-1810/+0
| | | | goodnight ugly prince...
* Disable rdisc, enable routed in new location.wollman1996-09-161-1/+1
|
* Change location of trace files and disable remote trace file changewollman1996-09-161-1/+3
| | | | feature.
* Layer on FreeBSD local changes from old routed.wollman1996-09-167-25/+20
|
*-. This commit was generated by cvs2svn to compensate for changes in r18316,wollman1996-09-1617-0/+11181
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| | * Virgin import of new BSD/SGI routed. This update contains a numberwollman1996-09-1615-0/+11151
| | | | | | | | | | | | of important bug fixes. Obtained from: Vernon J. Schryver <vjs@mica.denver.sgi.com>
| * Virgin import of new BSD/SGI routed. This update contains a numberwollman1996-09-162-0/+30
| | | | | | of important bug fixes. Obtained from: Vernon J. Schryver <vjs@mica.denver.sgi.com>
* Note that -N is only effective when ipfw is displaying chain entries.alex1996-09-151-1/+1
|
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-1427-51/+51
| | | | | | for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
* Added description of "noatime" option.dg1996-09-082-2/+14
|
* Make the noauto flag usable for swap devices too. Closes PR#1542jkh1996-09-062-1/+3
| | | | Submitted-By: David Leonard <d@scry.dstc.edu.au>
* Fixed DPADD.bde1996-09-052-6/+6
|
* Cast the partial result of an expression to an off_t to fix an overflowdg1996-09-051-1/+1
| | | | | | in the calculation of free disk space. Fixes PR#1569. Submitted by: Tor Egge <Tor.Egge@idt.ntnu.no>
* Just realised the man page didn't mention the appletalk specific optionsjulian1996-09-041-1/+9
| | | | | to ifconfig.. so I 've added them..
* Get rid of an unexpectedly bogus sanity check under appletalk becausejulian1996-09-041-3/+3
| | | | | | | | | | it stopped us from removing or setting loopback address on lo0: also make use of the fact the athe sockaddre_at struct now has a "netrange" field. CVS ----------------------------------------------------------------------
* Implemented user side of "noatime" mount option. This option disablesdg1996-09-034-2/+8
| | | | | | the file access time update on reads and can be useful in reducing filesystem overhead in cases where the access time is not important (like Usenet news spools).
* Add ${DPADD}, $Id$peter1996-09-021-0/+2
|
* Because 'ipfw flush' is such a dangerous command (given that mostnate1996-08-312-8/+42
| | | | | | | | | | | | | | firewalls are remote, and this command will kill the network connection to them), prompt the user for confirmation of this command. Also, add the '-f' flag which ignores the need for confirmation the command, and if there is no controlling tty (isatty(STDIN_FILENO) !=0) assume '-f'. If anyone is using ipfw flush in scripts it shouldn't affect them, but you may want to change the script to use a 'ipfw -f flush'. Reviewed by: alex
* [HISTORY] command appeared in Version 1 AT&T UNIXwosch1996-08-292-2/+4
| | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
* Add one line fix to stop my old 'don't barf if you see the samewpaul1996-08-291-2/+3
| | | | | | | hostname/IP twice on same line in /etc/exports' fix from dumping core due to bogus /etc/exports entries. Submitted by: Toshihiro Kanda <candy@fct.kgc.co.jp>
* Add support to halt, to allow it to request that the power be turned offjulian1996-08-242-6/+18
| | | | (the RB_POWEROFF flag)
* Use the .Bx macro where appropriate.mpp1996-08-2314-16/+30
|
* Use the .At macro where appropriate.mpp1996-08-232-2/+4
|
* Use the .Fx macro where appropriate.mpp1996-08-238-16/+27
|
* Print out ICMP errors that are responses to our own packets by default.fenner1996-08-202-20/+69
| | | | | | | | Turn this behavior off using '-Q'. This makes '-v' useless other than as an ICMP-sniffer, which tcpdump is better at anyway. Print out another couple of ICMP messages, and fix the printing of the original packet (mostly byte order problems).
* a header file for zopen.3wosch1996-08-202-1/+5
| | | | Pointed out by: Philippe Charnier <charnier@lirmm.fr>
* back out a part of the previous patch that garrett objected to..julian1996-08-192-7/+2
|
* Submitted by: Archie@whistle.comjulian1996-08-133-3/+13
| | | | | | if making a interface route, and it's a P2P link, then also automatically lable it as an llinfo entry so that gated and friends don't clobber it..
* Completely rewrite handling of protocol field for firewalls, things arepst1996-08-132-130/+72
| | | | | | | | | | | | | | | | | now completely consistent across all IP protocols and should be quite a bit faster. Use getprotoname() extensively, performed minor cleanups of admin utility. The admin utility could use a good kick in the pants. Basicly, these were the minimal changes I could make to the code to get it up to tollerable shape. There will be some future commits to clean up the basic architecture of the firewall code, and if I'm feeling ambitious, I may pull in changes like NAT from Linux and make the firewall hooks comletely generic so that a user can either load the ipfw module or the ipfilter module (cf Darren Reed). Discussed with: fenner & alex
* Attempt to unlink any stale .o files before relocating code.pst1996-08-131-2/+3
| | | | | | Abort if a file is still present, and make output file mode 0600. Reviewed by: bde
* Cover a potential buffer overrun problempst1996-08-131-2/+2
|
* Fix tcp/udp port rangespst1996-08-131-3/+3
|
* Reviewed by: julianjulian1996-08-093-2/+46
| | | | | | | | | | | | | | | | | | Submitted by: archie@whistle.com This patch allows true interface routing to be controlled from the command line.. you can now do: route add default -interface ppp0 even if you have no clue what the address at the other end is.. this is part of a set of changes that allow true "unnumbered links" such as netcom run between their sites.. In practice you should assign the address from one of your ethernet interfaces to the local side of the P2P link so that IP doesn't say that the packet comes from 255.255.255.255, but there is no need whatsoever to assign an address of any kind to the remote end of the link.. useful for frame relay links etc also.
* add nextboot by defaultjulian1996-08-091-2/+2
| | | | its's proven to be quite reliable.
OpenPOWER on IntegriCloud