summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix my yesterday's brain-o: don't account for the kilobytes twice.joerg1996-10-141-1/+1
|
* Yikes! Originally, i intended to apply the patch from PR # 1322,joerg1996-10-131-5/+6
| | | | | | | | | | | | | but Bill has beaten me on this. ;-) However, he missed the part to compute the kernelsize in kilobytes, so the minfree consideration was now overcautious. (I've also changed the return type of dump_size() to void since int was useless.) Being here, the fact that `vmcore' was written world-readable was just a plain security hole: everybody who was able to crash a kernel could later read any confidential information out of it at his will. Create it with umask 077 instead.
* The dos() function needs a new second argument, containing the sizebde1996-10-132-20/+26
| | | | | | | | | | | | | | | | | | of the partition. Only if the size is 0 should the special handling of 0 as first argument be triggered. [This bug caused offset 0 to give C/H/S = 0/0/0 instead of 0/0/1.] The init_sector0 function needs to decrease the first argument to the second call to dos() by one to be consistent with the calls to dos() in change_part(). [This bug caused fdisk -i to create bogus partition tables with the ending C/H/S value 1 too high. This usually gives S = 1 instead of S = maximum, so the geometry guessing in the slice code and perhaps in SCSI BIOSes was defeated.] Submitted by: Tor Egge <tegge@itea.ntnu.no>
* Make the savecore command work like the man page says:fenner1996-10-132-10/+21
| | | | | | | | | | | | | - make minfree work by getting the dump size before checking to see if the dump will fit on the filesystem - also fail to dump if no minfree is specified but there are not enough free blocks. Fix a typo in the man page. Fixes PR bin/1322 Submitted by: "Philippe C." <charnier@lirmm.fr>
* Rewrote the section about the "normal" setting of the security level tobde1996-10-121-15/+16
| | | | | | | match reality. Say that secured devices `may not be opened for writing' instead of `are read-only'.
* Add a new option "-f hints_file" to specify an alternate file instead ofjdp1996-10-102-37/+37
| | | | | | | "/var/run/ld.so.hints". Delete an incorrect statement about LD_LIBRARY_PATH from the manual page.
* 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..
OpenPOWER on IntegriCloud