summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix a couple of bogus casts to off_t that caused dumpfs to lseek negativepeter1996-06-231-4/+4
| | | | on filesystems > 2GB (which causes the disk slice code to call Debugger!!)
* Code clean up. Prototypes, parentheses around assignments used inalex1996-06-212-68/+136
| | | | | | if statements, #if 0 some unused code, use off_t in calls to read/ write_disk, fix a printf format, remove unused variables, and #include necessary files.
* Add #include <err.h>.alex1996-06-191-0/+1
|
* Set the program name before trying to use it.alex1996-06-181-3/+3
| | | | Found by: Aage Robekk <aagero@aage.priv.no>
* Moved initialization of defaults for the label for the whole disk frombde1996-06-172-20/+8
| | | | | | | disklabel(8) to the kernel (dsopen()). Drivers should initialize the hardware values (rpm, interleave, skews). Drivers currently don't do this, but it usually doesn't matter since rotational position stuff is normally disabled.
* Fix a typo in the view accounting records example.alex1996-06-151-1/+1
|
* Bring the man page more into line with reality.alex1996-06-151-259/+94
|
* Our kernel is not called /netbsd. ;)asami1996-06-141-4/+4
| | | | Submitted by: "Philippe Charnier" <charnier@lirmm.fr>
* Big sweep over ipfw, picking up where Poul left off:alex1996-06-091-23/+197
| | | | | | | | | | | | | | | - Filter based on ICMP types. - Accept interface wildcards (e.g. ppp*). - Resolve service names with the -N option. - Accept host names in 'from' and 'to' specifications - Display chain entry time stamps with the -t option. - Added URG to tcpflags. - Print usage if an unknown tcpflag is used. - Ability to zero individual accounting entries. - Clarify usage of port ranges. - Misc code cleanup. Closes PRs: 1193, 1220, and 1266.
* Return make_union, s-bit removedache1996-05-191-2/+1
|
* Disable setuid permission for mount_union(1).pst1996-05-172-6/+0
| | | | | | | | | This covers the security problem descibed in SA-96:10 and Jeff says that when we upgrade to Lite2 (which fixes this problem), mount no longer needs to be setuid, so we'll never be going back. Submitted by: hsu Reviewed by: pst
* Large security hole in mount_union, the underlying filesystem for which doesn'tjkh1996-05-171-1/+2
| | | | | even work. Until pst wakes up, best action deemed to be the simple disabling of this command.
* Accept mount(8)'s calling convention of passing just the filesystem typewollman1996-05-142-9/+23
| | | | as argv[0].
* One program I missed in removing MOUNT_* constants.wollman1996-05-133-51/+63
|
* Get rid of the last vestiges of the old MOUNT_* constants in thewollman1996-05-1327-519/+376
| | | | | | | | | mount_* programs. While we're at it, collapse the four now-identical mount programs for devfs, fdesc, kernfs, and procfs into links to a new mount_std(8) which can mount any really generic filesystem such as these when called with the appropriate argv[0]. Also, convert the mount programs to use sysexits.h.
* Document LFS as broken.jkh1996-05-122-0/+6
|
* Some cosmetics and some better error-checking.phk1996-05-111-46/+43
| | | | | | Reviewed by: phk Submitted by: "Daniel O'Callaghan" <danny@panda.hilink.com.au> Submitted by: Archie Cobbs <archie@whistle.com>
* From: Terry Lambert <terry@lambert.org>nate1996-05-093-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | Subject: Fix for annoying fsck bug Date: Wed, 24 Jan 1996 13:33:29 -0700 (MST) The following small diff fixes the annoying fsck bug that causes it to need to be run twice to end up with correct reference counts for inodes for directories that had subdirectories relocated into the lost+found directory. I found the need to rerun *extremely* annoying. This fix causes the count to be correctly adjusted later in pass 4 by correctly stating the parent reference count. Note that the parent reference count is incremented when the directory entry is made (for ".."), but is not really there in the case of a directory that does not make an entry in its parent dir. This can be tested by waiting for the inode sync after cd'ing from a shell into a test fs. Then you "mkdir xxx yyy zzz", wait a second, and hit the machine reset button. Reviewed by: nate (Tested lots of crashes :) Submitted by: Terry Lambert <terry@lambert.org>
* Update route(8) to print out current meanings of rt_flags RTF_* bits.wollman1996-05-081-4/+10
|
* Connect ccd man page and ccdconfig to parent Makefiles.asami1996-05-041-1/+1
| | | | Ok'd by: peter
* Better method of choosing libdescrypt/libscrypt.markm1996-05-041-6/+6
|
* Split CRYPTOBJDIR -> SCRYPTOBJDIR/DESCRYPTOBJDIR for init(8)markm1996-05-041-2/+8
|
* Stupid bug, the default man page goes to section 1, not 8.joerg1996-05-031-0/+1
| | | | | | Closes PR #misc/1172: Error in sbin/dset/Makefile Submitted by: masafumi@tky007.tth.expo96.ad.jp (Masafumi NAKANE)
* Specify FreeBSd on the .Os line, since this is a FreeBSD-specificmpp1996-05-021-4/+3
| | | | program. Use the .Fx (FreeBSD) macro in the HISTORY section.
* Oops, forgot to `cvs add' this one first...joerg1996-05-021-0/+80
|
* Add a man page.joerg1996-05-021-1/+0
|
* NBPG -> getpagesize()phk1996-05-022-2/+2
|
* Default to udp if neither udp nor tcp is specified. The previous revisionbde1996-05-011-1/+2
| | | | | was broken. It forced udp in all cases except the extremely unusual case argc == 0.
* changed a strchr to a strrchr so that modules with a `.' in the patherich1996-04-261-2/+2
| | | | can be loaded (e.g. ./mymod.o)
* Fixed a couple of format strings to match the change of pid_t from longbde1996-04-131-1/+1
| | | | | | to int32_t. I only fixed the ones that I noticed the warnings for. Perhaps most of the format strings are correct now because they were wrong before. Except of course if int32_t isn't compatible with `int'.
* default to udp if no flags specified...closes PR#bin/759scrappy1996-04-131-0/+1
| | | | - should this be documented in the man page?
* removed xref to icheck(8), ncheck(8) as they don't existscrappy1996-04-111-3/+1
|
* Fix a core dump when the user gives "-w" without an "="smpatel1996-04-101-1/+4
|
* English corrections from jdp.ache1996-04-091-18/+23
| | | | Add main purpose description (MSDOS timestamps)
* Do not install the now unsupported netns and netisompp1996-04-081-1/+1
| | | | | related man pages. Comment out cross references to those man pages from other man pages.
* Correct some man page xrefs, and some other minor changes to bring somempp1996-04-082-29/+29
| | | | | | man pages up to mdoc guidelines and fix some minor formatting glitches. Also fixed a number of man pages to not abuse the .Xr macro to display functions and path names and a lot of other junk.
* Correct some man page cross references and file location references.mpp1996-04-074-12/+12
|
* Don't immediately give up if a single read() or write() wasn'tjoerg1996-04-061-5/+31
| | | | | sufficient to transfer all the data from stdin, or to stdout. Working on pipes causes further fragmentation.
* More info and more correctionsache1996-04-051-4/+8
|
* Describe new adjkerntz variant + various changes from jdpache1996-04-051-50/+91
|
* Detect if /etc/wall_cmos_clock gone while adjkerntz paused.ache1996-04-051-1/+6
|
* Dynamically sense /etc/wall_cmos_clock presence/absenseache1996-04-051-20/+8
|
* Fix error with multiply 'adjkerntz -a' copies running.ache1996-04-051-32/+86
| | | | | Manage adjkerntz kernel variable even for UTC clocks. Code cleanup.
* Add a small message to the ``CAVEATS'' section saying if you get thegpalmer1996-04-033-3/+27
| | | | | warning about the root directory, then you could corrupt your filesystem if you write to it. Someone, please, feel free to improve this :-)
* recognize "allow", "accept" and "pass"phk1996-04-031-6/+8
| | | | add new feature for "established"
* A couple of bug-fixes.phk1996-04-021-4/+4
| | | | | Reviewed by: phk Submitted by: "Frank ten Wolde" <franky@pinewood.nl>
* Move rpc.statd and rpc.lockd to usr.sbin via repository copy as perpeter1996-04-0214-2530/+0
| | | | | | discussionn when they were initially added some time ago. These programs are not needed before nfs is up and running to possibly mount /usr so they dont need to be static and on the root fs.
* Some minor tweaks for statdpeter1996-04-014-101/+25
| | | | | | - use rpcgen to generate unmodified code instead of havinf it in the repository - use "natural" function names to avoid conflicts with prototypes etc.
* Tweaks for the stub lockd.peter1996-04-016-242/+46
| | | | | | | - Use rpcgen to generate the unmodified boilerplate code rather than having it in the repository. - Eliminate the conflicting function names by changing them to their "natural" rpcgen generated names
* Fixed a type to match Lite2's fixed-width type changes.bde1996-03-191-1/+1
| | | | Obtained from: 4.4BSD-Lite2
OpenPOWER on IntegriCloud