Commit Graph

2809 Commits

Author SHA1 Message Date
rwatson
eb2bfb8b51 o Update sysctl.8 to reflect renaming of various security-related
sysctls, and to introduce new ones.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-11-30 21:55:22 +00:00
sheldonh
05ebaf9058 Fix the example of suggested default settings. It stated that settings
were only of benefit to large filesystems, which recent research
suggests is not the case, and which the original author of the text
no longer endorses.
2001-11-27 19:39:07 +00:00
sheldonh
1e71f50108 Correct the example introduced in rev 1.29, which suggested a block:frag
size ratio other than 8:1.  Currently, we only recommend an 8:1
ratio, because the impact of others ratios has not been adequately
investigated.

Also, do not recommend the use of the -c option in the example, since
newfs now automatically calculates the best cyl:cylgrp ratio.

This change was discussed with the author of rev 1.29.
2001-11-27 17:01:17 +00:00
ru
e129a9f15e Make -log_ipfw_denied active by default with -verbose.
Discussed with:	phk
2001-11-27 11:06:02 +00:00
ru
3c293c52fd Fixed (local) style bugs in previous revision. 2001-11-27 11:00:16 +00:00
dd
b5c5d0915c Spelling police: sucessful -> successful.
Submitted by:	Anders Andersson <anders@codefactory.se>
2001-11-24 23:38:17 +00:00
dd
3604f5fad7 Spelling police: "more then" - "more than" where appropriate. 2001-11-24 19:47:12 +00:00
ache
ba99a6c219 Fix decode table
PR:		32233
Submitted by:	Basileios Anastasatos <B.Anastasatos@MyRealBox.com>
2001-11-23 22:27:03 +00:00
ache
be2f534ba2 Add Greek conversion table
PR:		32119
Submitted by:	Basileios Anastasatos <B.Anastasatos@MyRealBox.com>
2001-11-20 18:55:16 +00:00
iedowse
a0dc2079d2 Fix a large number of -Wall, -Wformat and -W compiler warnings.
These were mainly missing casts or wrong format strings in printf
statements, but there were also missing includes, unused variables,
functions and arguments.

The choice of `long' vs `int' still seems almost random in a lot
of places though.
2001-11-17 23:48:21 +00:00
iedowse
8070b3bf8f Give a more useful diagnostic when an extraneous hard link to a
directory is encountered. This includes the full path of the
directory that will be removed if the user answers "y" to the
"REMOVE?" question.

PR:		bin/226851
Submitted by:	KOIE Hide <hide@koie.org>
MFC after:	1 week
2001-11-17 22:46:36 +00:00
iedowse
aea807046e Zap a number of #ifdef sunos blocks, and all of the `register'
keywords.
2001-11-17 00:06:55 +00:00
iedowse
46b1ffa3a1 Give a sensible error message when the filesystem to be dumped is
not listed in /etc/fstab. Previously, the user would be greeted
with "DUMP: bad sblock magic number" when dump tried to parse
the directory contents as an FFS filesystem.

PR:		bin/12789
Submitted by:	Bob Willcox <bob@pmr.com>
2001-11-16 22:13:44 +00:00
asmodai
369c63dd8d Back out previous commit.
This works for wi(4), but apparantly other wireless drivers seem to do
the right thing.

Submitter and yours truly both got Mislead(tm).

Submitted by:	udp <udp@sneakerz.org>
2001-11-15 16:55:39 +00:00
asmodai
c5e0ef5398 Report ad hoc mode correctly.
Submitted by:	udp <udp@sneakerz.org>
2001-11-15 15:31:51 +00:00
alfred
0342a3ec02 note that 'nolockd' can't be used when updating mount flags 2001-11-12 02:43:56 +00:00
alfred
fa9d19d5b5 Allow users to use the 'nolockd' or -L options with mount_nfs in order
to avoid the need for rpc.lockd to perform client locks.  Using
this option a user can revert back to using local locks for NFS mounts
like we did before we had rpc.lockd.
2001-11-12 02:33:52 +00:00
iedowse
78699c9650 Check that the mode argument to fsdb's `chmod' command contains no
inode type bits set. Previously it would let you set IFMT bits (but
not clear them). The `chtype' command should be be used instead
for changing the inode type; having chmod half-work only causes
confusion.
2001-11-11 10:44:02 +00:00
murray
b7fb0faeb2 Add a few articles to improve the readability of this manual page.
PR:		docs/31583
Submitted by:	setantae@submonkey.net
2001-11-05 09:01:15 +00:00
luigi
707bb64e49 sync the code with the one in stable (mostly formatting changes). 2001-11-04 23:19:46 +00:00
dd
f1ad80a38f Refer people looking to figure out what major to use for a device to
MAKEDEV and sys/conf/majors, not sys/conf/device.<arch>, which has
never existed in the history of FreeBSD (well, at least it isn't in
the repository).

PR:		31558
2001-11-04 23:11:25 +00:00
peter
a89afebeeb Repocopy pc98 fdisk out of its hidden subdir. Reconnect it to the build. 2001-11-04 17:38:23 +00:00
peter
054367a0db Remove support for FreeBSD/tahoe
Submitted by:	phk
2001-11-03 08:35:11 +00:00
peter
32b6e93593 Repo copied contents of src/sbin/i386 to src/sbin and set specific
SUBDIR lists there.  Some of these are used on other platforms.
2001-11-03 07:31:21 +00:00
peter
4ca131b9a6 Move i386/{fdisk,cxconfig,nextboot} to src/sbin. Eliminate the i386
subdir.  Add fdisk to ia64 SUBDIR list.  Add all the previous occupants
of the i386 subdir to the i386 SUBDIR list.
2001-11-03 07:30:14 +00:00
phk
96b92e6726 style(9) cleanup.
Submitted by:	j mckitrick <jcm@freebsd-uk.eu.org>
Reviewed by:	phk, /sbin/md5
2001-11-02 09:23:34 +00:00
yar
269746c310 Cosmetic: Don't output a blank line if a driver provides
no media status.

PR:		bin/30587
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
MFC after:	1 week
2001-11-02 02:20:21 +00:00
luigi
6e698c7168 Fix a typo in a format string, and fix error checking for missing
masks in "limit" rules.
2001-11-01 08:45:02 +00:00
phk
10fe9ee3d2 Do not uselessly whine in syslog about packets denied by ipfw rules.
Set 'log_ipfw_denied' option if you want the old behaviour.

PR:	30255
Submitted by:	Flemming "F3" Jacobsen <fj@batmule.dk>
Reviewed by:	phk
MFC after:	4 weeks
2001-10-31 16:08:49 +00:00
tobez
b35708db5b Replace =' with more correct `.Ql =''.
Mdoc-policed by:	ru
2001-10-31 15:57:55 +00:00
tobez
c304204fd4 Implement -e option. It modifies the output produced by sysctl(8) in
such a way that the name and the value of the variable(s) are separated
with `=' instead of the usual `: '.  This is useful for producing output
that can be fed back to the sysctl utility (pasted to sysctl.conf, for
example).

Reviewed by:	rwatson
Approved by:	markm
MFC after:	2 weeks
2001-10-30 20:15:32 +00:00
tobez
3527183677 Fix a bug where restore(8) segfaults while trying to restore on a
read-only FS.

Reviewed by:	audit silence
Approved by:	markm
MFC after:	2 weeks
2001-10-30 20:06:59 +00:00
joe
57e1d6d8b2 More white space changes. 2001-10-29 03:46:28 +00:00
joe
258d90583a More stylistic tidying. 2001-10-29 03:25:49 +00:00
joe
7745d91e4f Remove training white spaces, and some other style violations. 2001-10-29 00:37:24 +00:00
dillon
3e277dbdb4 Properly convert long to time_t 2001-10-28 20:19:14 +00:00
dillon
41f4e0eb17 Make the protocol/dumprestore.h header match restore's idea of the dump
header for the case where sizeof(time_t) != sizeof(int).  dumprestore.h
was embedding time_t when it should have been embedding int32_t.

Use time_to_time32() and time32_to_time() to convert between the
protocoll/file-format time and time_t.
2001-10-28 20:01:38 +00:00
n_hibma
9b2eb27d34 Typo. 2001-10-28 16:47:06 +00:00
n_hibma
571320567f Add a Xref to dumpon. 2001-10-28 16:41:56 +00:00
dillon
315406dcf8 deltat declared time_t, msg("") call used %d (assumed time_t == int).
Changed deltat to be an int (result of delta time calculation).

MFC after:	1 day
2001-10-28 06:13:47 +00:00
joe
bf1d5c5646 Remove some extraneous spaces from the usage message. 2001-10-28 02:10:40 +00:00
dillon
827bb2a335 Add missing cast for improper time_t use in computation. 2001-10-28 00:01:58 +00:00
ru
3e0f777a8c Put WARNS into the right place. 2001-10-25 17:09:37 +00:00
jlemon
f82344f52d Style and WARNS cleanups.
Submitted by: ru
2001-10-25 16:41:38 +00:00
ru
df8a82ad64 The directory of the makefile that's including the file is tried first.
See section 3.2 of "PMake - A Tutorial" in /usr/share/doc/psd/12.make.
2001-10-25 08:37:12 +00:00
ru
a6e3708f41 Sort SUBDIR. 2001-10-25 07:55:43 +00:00
jlemon
7371c93193 Mdoc fixes and clarification.
Submitted by: sheldonh
2001-10-25 05:53:11 +00:00
jlemon
a73d224ef6 Add a manual page. 2001-10-23 22:13:34 +00:00
jlemon
88013694b7 Hook up conscontrol to the build. 2001-10-23 20:37:07 +00:00
jlemon
b43b265d16 Add conscontrol, a front end interface for manipulating consoles. 2001-10-23 20:36:43 +00:00