summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fixes per PR 2850:jkoshy1998-06-191-5/+18
| | | | | | | | | | | (a) Note that the default securelevel value is -1, in -current and -stable. (b) Mention kernel sysctl variable that controls securelevel. (c) Add warning the `fsck' will fail if securelevel >= 2. (d) Suggest end of /etc/rc as the right place to raise securelevel. and one spelling fix. PR: 2850
* Remove reference to non-existent htable(8).jkoshy1998-06-171-2/+1
| | | | PR: 6940
* Oops, the previous commit missed one line of code.joerg1998-06-151-1/+2
|
* Watch out for null hostnames in netgroup entries, to avoid dumping core.joerg1998-06-151-2/+4
| | | | | | This happens if someone tries to export to a netgroup like: mygroup (,,mynisdomain)
* Correct use of .Nm. Use .Bl/.El for enumerating options. Use .An. Correctcharnier1998-06-153-43/+33
| | | | | formatting of rcsid. Remove unused #includes. Do not use memory after freeing it.
* Correct use of .Nm. Add rcsid. Remove unused #includes. Use err(3).charnier1998-06-1540-206/+257
|
* Capitalize at the start of sentence. Add rcsid. Remove unused #includes.charnier1998-06-152-18/+14
| | | | Use `dumpon' instead of argv[0].
* Add rcsid. Remove unused #includes.charnier1998-06-151-4/+5
|
* Correct use of .Nm. Add rcsid. Remove unused #includes.charnier1998-06-158-40/+53
|
* Force -DFREEBSD_AOUT incase ldconfig is being compiled under elf.peter1998-06-121-2/+2
| | | | | Without this, <link.h> defines stuff for elf linking which is not what ldconfig needs.
* Print the write counts if they are nonzero even if we're mountedbde1998-06-082-8/+6
| | | | | | readonly, since they tell us about previous write activity. Use the correct format to print the write counts.
* Add rcsid, remove unused #includes. Use err(3).charnier1998-06-081-22/+22
|
* Use warnx()+fprintf() to handle multi-line messages. Correct K&R support andcharnier1998-06-082-24/+20
| | | | | KNF continuation indent rule. Requested by: Bruce.
* Fix typo: exit -> existdanny1998-06-081-2/+2
|
* PR: docs/3636thepish1998-06-071-1/+1
| | | | | Submitted by: Gary Palmer gpalmer@FreeBSD.ORG Add mention of the 1024-character line length limit on the netgroup database.
* Fix an alignment problem on alpha by doing a bytewise copy.jb1998-06-061-3/+6
|
* Reviewed by: Kirk Mckusick (mckusick@mckusick.com)julian1998-06-053-3/+3
| | | | | | Submitted by: luoqi Chen fix a type in fsck. (also add a comment that got picked up by mistake but is worth adding)
* Fix a spelling error.steve1998-06-042-2/+2
| | | | | PR: 6857 Submitted by: Josh Gilliam <josh@quick.net>
* Use .Pa for filenames. Use .Bl/.El in FILES section. Remove unused #includes.charnier1998-06-042-13/+13
|
* Add section number to .Xr. Use of .Nm. Typo. Add rcsid. Remove unusedcharnier1998-06-046-142/+100
| | | | #includes. Use err(3).
* Correct .Nm. Spelling. Add rcsid, remove unused #includes. Add usage(). Do notcharnier1998-06-042-15/+22
| | | | dot-terminate errx() strings.
* Correct use of .Nm, use .Bl/.El in FILES section. Add rcsid. Remove unusedcharnier1998-06-042-18/+22
| | | | #includes and make it a little more -Wall-friendly.
* Correct use of .Nm. Add section number to .Xr. Add rcsid, usage(). Use err(3).charnier1998-06-042-35/+35
|
* Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include.charnier1998-06-042-19/+25
|
* Spelling corrections.jkoshy1998-06-031-2/+2
| | | | | PR: 6829 Submitted by: Josh Gilliam <josh@quick.net>
* Correct typo.jkoshy1998-06-031-2/+2
| | | | | PR: 6844 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
* SUBDIR += ldconfigpeter1998-06-011-2/+2
|
* Build ldconfig in /sbin environment directly, rather than under the gnu ldpeter1998-06-011-6/+4
| | | | directory. The rcs files were repository copied.
* Fixed overflow in the calculation of the number of inodes per groupbde1998-05-311-1/+1
| | | | | | for filesystems with almost the maximum number of sectors. The maxiumum is 2^31, but overflow is common for that size, and overflow normally occurred here at size (2^31 - 4096).
* Use the correct macro for file names. Remove empty `HISTORY' section.jkoshy1998-05-292-4/+2
| | | | | PR: 6780 Submitted by: Yoshishige Arai <ryo2@on.rim.or.jp>
* Correct manual page, based on feedback from Bruce Evans.jkoshy1998-05-271-31/+33
| | | | Reviewed by: Bruce Evans <bde@freebsd.org>
* ELF preparation step 2:sos1998-05-261-2/+7
| | | | | | | | | | | | | | Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage. This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore. We are getting close to an ELF make world, but I'll let this all settle for a week or two...
* Use select() timeouts instead of SIGALRM to schedule packet transmission.fenner1998-05-251-81/+104
| | | | | | | | | | Fixes bin/6649 and removes the last abusive signal handler. Use SO_TIMESTAMP to get the kernel to timestamp packets on reception. Fixes bin/5658 and provides slightly better accuracy. Explicitly zero and terminate the IP options when using -R. PR: bin/5658 PR: bin/6649
* Manual page fix: add cross references, refer to ``dumpdev'' variable injkoshy1998-05-251-9/+33
| | | | | | | "/etc/rc.conf". PR: 6117 Submitted by: Mark Mayo <mark@vmunix.com>
* Revert the previous fix. As it turns out Warner Losh issteve1998-05-251-21/+9
| | | | working a better fix.
* Attempt to stop another DoS attack related to ping flooding.steve1998-05-251-9/+21
| | | | | PR: 6649 Submitted by: Jason Young <doogie@forbidden-donut.anet-stl.com>
* Fix typo in prompt.jraynard1998-05-202-2/+2
|
* Reminded by: Alex Nashdanny1998-05-191-3/+3
| | | | Bring man page up to date with -q flag behaviour.
* Make the size of the msgbuf (dmesg) a "normal" option.phk1998-05-191-8/+14
|
* Support changing the attribute cache limits per-mount. We don't havepeter1998-05-192-2/+38
| | | | | many option letters left, I used long names only (like the previous port= option)
* Typo fix.max1998-05-191-1/+1
|
* Make this safe for an alpha build, leaving out just about everythingjb1998-05-181-15/+11
| | | | that has some sort of kernel issue associated with it.
* Remove extraneous ")" from output.dt1998-05-172-4/+4
|
* Turn on TCP_NODELAY on the remote socket, to turn off sender silly windowfenner1998-05-171-6/+3
| | | | | | | | | syndrome avoidance. The combination of SWS avoidance and ack-every-other causes low throughput if the block size divided by the MSS is odd (which is true with the default block size and MSS). Turning on TCP_NODELAY disables the Nagle algorithm and sender SWS avoidance. The rdump request/response protocol can not invoke Nagle and cannot cause SWS, so this has no negative effects.
* When a timeval is stored at the beginning of icmp_data, the fieldsjb1998-05-161-14/+27
| | | | | | | | | | | are unaligned for access by the alpha, so copy the value to a variable that is aligned. When checking the returned data, be careful to avoid confusing the size of the icmp header with the size of a timeval. On i386 these are both 8, but on alpha, a timeval is 16 bytes. This means that a packet sent from an alpha contains 48 bytes of data, not 56 like on i386.
* PR: 6641danny1998-05-151-2/+2
| | | | | Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Make -q work for zeroing a specific rule.
* The SYNOPSYS of mount_umap(8) saysphk1998-05-132-4/+4
| | | | | | | | | | | | mount_umap [-o options] target mount-point uid-mapfile gid-mapfile This should read mount_umap [-o options] -u uid-mapfile -g gid-mapfile target mount-point PR: 6586 Reviewed by: phk Submitted by: Amakawa Shuhei amakawa@hoh.t.u-tokyo.ac.jp
* The description of the format of the id mapfile is wrong. You havephk1998-05-132-4/+4
| | | | | | | | to write an original-id and a local-id in the other way around. PR: 6593 Reviewed by: phk Submitted by: Amakawa Shuhei <amakawa@hoh.t.u-tokyo.ac.jp>
* Fix PR 1607, hopefully without breaking the PR 5208 fixes.peter1998-05-111-7/+7
| | | | | | | | | | | | | | | | umount() was trying to stat() the mountpoint, this would fail if the mountpoint was a NFS mountpoint, and the fallback code would try and pass a hostname:/dir path as the mountpoint to unmount(2), which would fail. This whole stat() of the name supplied on the command line business is trouble as it'll wedge on a hung NFS mount. I'm not entirely sure why we are not simply looking up both arguments in the mount table and doing the right thing without accessing the filesystem. It seems that we're going to a lot of trouble to allow mountpoints on symlinks and other wierd things. PR: 1607
* Fix minor typo.steve1998-05-101-2/+2
| | | | | PR: 6571 Submitted by: Stephen J. Roznowski <sjr@home.net>
OpenPOWER on IntegriCloud