summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Allow fdisk to be driven from a configuration file, making a 3rd-partyjkh1996-11-064-102/+1542
| | | | | | | utility for front-ending its operation more of a possibility. 2.2-RELEASE candiate. Closes PR#1960 Submitted-By: Darryl Okahata <darrylo@hpnmhjw.sr.hp.com>
* Fix a spelling error.jdp1996-11-051-1/+1
| | | | 2.2 Candidate.
* Fixed backgrounding of ping, which was broken by the ^T changes in rev.1.3.bde1996-11-041-4/+4
|
* fix usage stringwosch1996-11-042-8/+8
|
* Delete another unnecessary #include <sys/mbuf.h>.wollman1996-11-011-2/+1
|
* Use fprintf(stderr,) instead of msgtail() so it works for restore as well.fenner1996-11-011-0/+1
|
* Temporarily disable an information message that was added in the lastpeter1996-11-011-1/+0
| | | | | commit.. This causes a link error in sbin/restore which also uses this file.
* Make rdump error messages a little clearer and make them look like dumpfenner1996-11-011-12/+35
| | | | | messages, and make it explicit that stderr output came from the remote end. (e.g. "rmt: command not found")
* If rcmd() fails, return immediately instead of trying a bunch offenner1996-10-281-6/+9
| | | | | | | | | setsockopt()'s on a -1 file descriptor. Remove attempt to decrease TCP MSS; it makes no sense. Set the IP TOS to IPTOS_THROUGHPUT as an indication that this is an application sending large blocks of data, as recommended by RFC1700.
* If passed the -d flag, mount devfs on /devphk1996-10-281-1/+12
|
* Don't give up just because we cant find the blkdev that correspondsphk1996-10-274-8/+12
| | | | to the name given as a chardev.
* setuid back to the original caller immediately after opening the route socket.fenner1996-10-271-14/+19
| | | | | | | | | | | | | | | | | Opening the socket is the only privileged operation route requires. Make a couple of static buffers bigger, and use strncpy() and snprintf() where there's a chance of overflow. Fixes PR bin/1903 Partially Submitted by: Ollivier Robert <roberto@keltia.freenix.fr> Don't look up the network number if we're being asked to add a host route. Fixes PR bin/1900 Submitted by: Bruce A. Mah <bmah@cs.berkeley.edu> (pr bin/1900)
* Allow the specification of a mountpoint, and resolve it s disk devicejoerg1996-10-254-4/+64
| | | | | | | | using the fstab. Closes PR bin/129. Submitted by: jmg@nike.efn.org (John-Mark Gurney)
* Moved #include of <sys/types.h> earlier so that this compiles whenbde1996-10-251-3/+6
| | | | | | <stdio.h> doesn't (bogusly) include <sys/types.h>. Cleaned up #includes.
* Mention the historic mount options, as `deprecated'.joerg1996-10-221-0/+49
| | | | Closes PR # docs/735.
* dumpfs blindly trusts that it has been handed a filesystem.phk1996-10-211-0/+7
| | | | | | | If the magic is bad, don't waste our time. Submitted by: Giles Lean Giles Lean <giles@nemeton.com.au> Obtained from: NetBSD PR bin/249
* Issue a warning if the user specifies an invalid interface in a rule.alex1996-10-171-1/+25
| | | | | The rule is still added to the chain since the interface may get created later on after loading an LKM.
* Bring back NS support for this utility - we need it for the commercial Novelljkh1996-10-162-1/+2
| | | | server software.
* 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
|
OpenPOWER on IntegriCloud