Giorgos Keramidas
f5b4f7c9eb
Spell "utilities" correctly.
2003-02-28 00:55:18 +00:00
Ruslan Ermilov
8fbad60d0a
Document the rxcsum and txcsum commands.
...
Submitted by: jlemon
2003-02-27 22:59:13 +00:00
Ruslan Ermilov
15f6525003
More fixes.
...
Submitted by: Andy Farkas <andyf@speednet.com.au>
Reviewed by: das
2003-02-25 07:41:33 +00:00
Ruslan Ermilov
031e8f07e9
mdoc(7) police: Tidy up.
2003-02-24 23:02:37 +00:00
Ruslan Ermilov
21b4c1da95
Killed one more instance of pseudo-devices.
2003-02-24 22:54:26 +00:00
David Schultz
1281f763a9
Clarify about NSWAPDEV, add a DIAGNOSTICS section pointing to
...
swapon(2), and correct HISTORY.
Reviewed by: mike (mentor)
2003-02-24 08:52:06 +00:00
David Schultz
4937798d56
- Add a clearer error message for the case where swapon hits the
...
NSWAPDEV limit.
- Don't warn about devices that are not in use in 'swapoff -a'.
- Re-add behavior mistakenly removed in revision 1.44:
If using 'swapon -a', do not warn if the device is already in use.
PR: 46633
Submitted by: Andy Farkas <andyf@speednet.com.au> (in part)
Reviewed by: mike (mentor)
2003-02-24 08:51:31 +00:00
Johan Karlsson
82bbd989e7
These are WARNS=2 clean, try to keep them that way.
2003-02-23 13:25:02 +00:00
Johan Karlsson
7331e8f03b
Remove one of two WARNS=0.
2003-02-23 13:22:41 +00:00
Tim J. Robbins
73657eba91
Fix two unsafe uses of sprintf().
2003-02-23 07:37:47 +00:00
Tim J. Robbins
bdd64bca36
Correct some err() format string bugs.
2003-02-23 06:35:33 +00:00
Ruslan Ermilov
1f6a46318d
Sort options.
2003-02-23 01:50:07 +00:00
Ruslan Ermilov
ef9ab0b32b
Deal with vestiges of d_boot[01].
2003-02-23 01:48:42 +00:00
Ruslan Ermilov
522ccf3f35
mdoc(7) police: markup laundry.
2003-02-23 01:47:49 +00:00
Ruslan Ermilov
c4b8f0626a
mdoc(7) police: kill unnecessary xref.
2003-02-23 01:46:25 +00:00
Kirk McKusick
e27c9f46ad
Fix the -R flag so that it provides sequential "random" numbers
...
so that the regression test will succeed.
Sponsored by: DARPA & NAI Labs.
2003-02-22 23:26:11 +00:00
Johan Karlsson
6fb6bfcbad
Remove unused variable to make badsect WARNS=2 clean.
2003-02-22 21:33:42 +00:00
David E. O'Brien
4f53948a1a
Don't try to build devd when NO_CXX is set.
2003-02-21 02:16:35 +00:00
Johan Karlsson
c7cf7aa684
Make camcontrol WARNS=2 clean.
...
Approved by: ken
2003-02-20 21:07:59 +00:00
John W. De Boskey
66227a4409
Our first keyword hit for apropos ufs2.
2003-02-19 02:41:29 +00:00
Poul-Henning Kamp
c9260270a0
Add #include <sys/resource.h>
2003-02-16 15:31:26 +00:00
Poul-Henning Kamp
f341ca9891
Remove #include <sys/dkstat.h>
2003-02-16 14:13:23 +00:00
Kirk McKusick
aca3e4974f
Replace use of random() with arc4random() to provide less guessable
...
values for the initial inode generation numbers in newfs and for
newly allocated inode generation numbers in the kernel.
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org>
Sponsored by: DARPA & NAI Labs.
2003-02-14 21:31:58 +00:00
Kirk McKusick
363c185255
Correct lines incorrectly added to the copyright message. Add missing period.
...
Submitted by: Bruce Evans <bde@zeta.org.au>
Sponsored by: DARPA & NAI Labs.
2003-02-14 21:08:14 +00:00
Warner Losh
baa3851626
The bugs section hasn't been true since before 5.0-R
2003-02-14 19:49:19 +00:00
Warner Losh
93c6603a41
devd bugs section is now OBE
2003-02-14 16:21:50 +00:00
Mike Silbersack
ed4edda03a
Improvements to md5.c so that it uses getrusage to time
...
benchmarks, and prints out results in float format.
2003-02-14 04:48:06 +00:00
Peter Wemm
7201d7b009
Show the paritition types that we recognize in human readable format. eg:
...
pluto2# gpt show da0
start end size contents
0 0 1 PMBR
1 1 1 Pri GPT header
2 33 32 Pri GPT table
34 401595 401562 GPT part - EFI System partition
401596 925883 524288 GPT part - FreeBSD ufs partition
925884 9314491 8388608 GPT part - FreeBSD swap partition
...
It'll print a plain uuid string for unrecognized types.
2003-02-13 01:00:26 +00:00
Yoshihiro Takahashi
4a29c3a740
MFi386: Use DIOCGPC98 ioctl.
2003-02-11 07:32:45 +00:00
Juli Mallett
fc903aa525
Convert newfs to libufs (really). Solves one real issue with previous
...
version of such. Differences in filesystems generated were found to be
from 1) sbwrite with the "all" parameter 2) removal of writecache. The
sbwrite call was made to perform as the original version, and otherwise
this was checked against a version of newfs with the write cache removed.
2003-02-11 03:06:45 +00:00
Andrey A. Chernov
ae4ce2c16e
Use srandomdev() for FreeBSD
2003-02-11 02:31:53 +00:00
Poul-Henning Kamp
936cc4614b
Rename bio_linkage to the more obvious bio_parent.
...
Add bio_t0 timestamp, and include <sys/time.h> where needed
2003-02-07 21:09:51 +00:00
Philippe Charnier
29e3edcc64
Use a more standard error message. Add FBSDID.
...
Reviewed by: ru
2003-02-05 20:08:39 +00:00
Philippe Charnier
c74076852f
The .Xr utility
2003-02-05 13:50:41 +00:00
Christian Brueffer
16b3d3546d
Correct examples for stateful inspection
...
PR: 47817
Submitted by: Simon L.Nielsen <simon@nitro.dk>
Reviewed by: ceri, luigi
2003-02-04 01:33:25 +00:00
Gordon Tetlow
c715b047bc
Bring in support for volume labels to the filesystem utilities.
...
Reviewed by: mckusick
2003-02-01 04:17:10 +00:00
Jake Burkholder
a89bc4fcac
Build sunlabel on sparc64.
2003-01-31 07:40:25 +00:00
Jake Burkholder
21e6d81a68
Add sunlabel, a more or less drop in replacement for bsd^H^H^Hdisklabel(8)
...
which works on sun labels. Due to the lack of an interface other than
write(2) to update labels, it cannot modify an open partition.
2003-01-31 07:03:25 +00:00
Yoshihiro Takahashi
12c8b341d8
Additional PC98 option is not needed.
2003-01-30 15:09:21 +00:00
Juli Mallett
5a29754e3f
Back out conversion to libufs, for now. It seems to cause problems.
...
Reported by: phk
2003-01-29 22:52:27 +00:00
Matthew N. Dodd
d074d39fef
Call fill() after maxpayload has been initialized.
...
Reviewed by: maxim
2003-01-29 20:42:42 +00:00
Matthew N. Dodd
143008a1fe
Send ICMP_MASKREQ packets when the '-M' option is specified.
2003-01-28 22:53:24 +00:00
Juli Mallett
907db4dd23
Fix problems with how libufs was used, with regard to mounted/active fs's,
...
in the new world order of libufs, where we also do statfs, and add a missing
close.
2003-01-28 02:42:01 +00:00
Matthew Dillon
091e0b14d5
Update mount_nfs documentation to reference new sysctl for -c default.
2003-01-27 20:12:32 +00:00
Poul-Henning Kamp
e39eff98a0
Don't use the kern.disks sysctl to find a list of md devices, use the
...
MDIOCLIST ioctl instead.
Spotted by: keramida
2003-01-27 08:01:08 +00:00
Juli Mallett
9d492cddac
Convert newfs to use libufs. I've tested this on md filesystems, as has
...
keramida, and all seems well.
2003-01-27 07:24:32 +00:00
Poul-Henning Kamp
74c041ac57
If we fail to open O_RDWR, try opening O_RDONLY, if we use ioctls
...
to fiddle the disk we can get away with it.
Try to use DIOCBSDBB to write boot code.
2003-01-26 21:55:43 +00:00
Poul-Henning Kamp
23e8074bd0
IA64 still needs to be able to run on MBR+BSD combination, so put disklabel
...
back.
Pointed out by: peter
2003-01-26 18:33:54 +00:00
Poul-Henning Kamp
8d48318bbb
Drop the silly notion that i386 has two bootstrap files now that sys/boot
...
creates a single file named just "boot".
Apart from the fact that the option "-s" is now gone and that "-b" should
be pointed at /boot/boot instead of /boot/boot1, this patch should be
a no-op.
2003-01-26 14:35:53 +00:00
Poul-Henning Kamp
a9595c8217
Remove #if checks for NUMBOOT==0, it's not relevant for any architecture
...
and if we get such an architecture, we can just avoid using the relevant
options.
2003-01-26 13:50:11 +00:00
Poul-Henning Kamp
7e3e26cdc1
Offer better advice in #error.
...
Remove yet a usage message about -N/-W
2003-01-26 12:39:46 +00:00
Ruslan Ermilov
44e4f023ae
Spell libufs correctly in DPADD.
...
Reviewed by: juli
2003-01-26 12:34:36 +00:00
Poul-Henning Kamp
6250c8c527
Remove ia64 and powerpc #ifdefs: this is i386/pc98/alpha only code.
2003-01-26 12:22:26 +00:00
Poul-Henning Kamp
1c55bb01f3
Make disklabel(8) MD for i386/pc98 and alpha only.
2003-01-26 12:19:36 +00:00
Poul-Henning Kamp
3874baafd8
Remove #ifdef __sparc64__ code. GEOM uses native SUN labels on this arch,
...
so no hacks are needed.
2003-01-26 11:43:50 +00:00
Poul-Henning Kamp
80baf8ced8
Fix typo in last commit.
...
Rearrange bits in writelabel() a bit for improved readability.
2003-01-26 11:41:37 +00:00
Poul-Henning Kamp
5a5469f26a
Remember to remove -N and -W from usage.
2003-01-26 11:28:34 +00:00
Poul-Henning Kamp
89fd458f17
Don't fiddle write-protect status of disklabel, it's a discontinued feature.
2003-01-26 11:16:25 +00:00
Poul-Henning Kamp
f080d33b66
Retire the "-N" and "-W" options which implemented write-protection
...
for the disklabel: This facility is OBE.
First of all, we cannot sensibly implement this in a properly stacked
environment.
Second, if we did, it would confuse the heck out of users who
wouldn't be able to "start from scratch" by dd(8)'ing /dev/zero
onto /dev/da0.
Third, the offered protection is not comprehensive: no other software
would respect it.
Fourth and finally, the disklabel is already protected against
tampering if it controls open partitions.
Uselessness of these options discussed with: peter
2003-01-26 11:11:19 +00:00
Mike Silbersack
bbe7088205
Change the -x option so that it does an actual REAL test of
...
the correctness of this program. Previously, it printed out
the MD5 values of some test strings, but did not tell you
if they were correct or not!
2003-01-26 08:23:37 +00:00
Giorgos Keramidas
f6b811bedb
Convert references to other manpages to .Xr and add
...
entries to the SEE ALSO section.
2003-01-26 02:52:07 +00:00
Matthew Dillon
049b1245be
Readjust the cache initialization code to make it more obvious that the
...
cache is bypassed when disabled.
2003-01-25 19:06:30 +00:00
Kelly Yancey
ed92abc56b
Since route(8) itself is no longer setuid, we can get a meaningful
...
answer for the euid. As a result, fix it such that setuid scripts or
programs may call route(8) to do work on their behalf.
Reviewed by: ru
MFC after: 3 days
2003-01-25 01:28:11 +00:00
Nate Lawson
bbef019c84
Parse both old flags location and new one. Print out new flags including
...
acls, multilabel, and location updated.
2003-01-24 00:07:40 +00:00
Matthew N. Dodd
83d5e173ac
Add missing #if USE_IF_MEDIA/#endif.
2003-01-23 18:31:56 +00:00
Maxim Konovalov
fb7d32c7ee
Better error handling for -s.
...
Submitted by: bde
Do not constantify maximum payload size. It is 65467 with -R
(record route), and 65507 without it.
Reviewed by: silence on -net
Proposed by: bde
I am going to MFC rev.1.77 - 1.81 ping.c and rev.1.39 and 1.40 ping.8:
MFC after: 6 months
2003-01-23 13:04:42 +00:00
Maxim Konovalov
261e59bb9e
style(9) sweep.
...
Submitted by: bde
2003-01-23 12:56:10 +00:00
Maxim Konovalov
9bc1a9ec6c
Anti-magic: s/255/MAXTTL/
2003-01-23 12:54:11 +00:00
Maxim Konovalov
0b2f8b3f68
Implement -D (do not fragment) and -z (TOS) options.
...
PR: bin/29164
Reviewed by: silence of -net
Obtained from: OpenBSD
2003-01-23 12:48:12 +00:00
Maxim Konovalov
cb75aca7cd
Print strict source routing option.
...
Reviewed by: silence on -net
Proposed by: David Wang <dsw@juniper.net>
2003-01-23 12:42:56 +00:00
Ruslan Ermilov
496f81e0bb
Fixed Charles' e-mail here too.
2003-01-23 08:35:21 +00:00
Ruslan Ermilov
77391fde76
Added UFS library to the bsd.libnames.mk namespace.
2003-01-23 08:15:05 +00:00
Peter Wemm
661b2c1683
Fix what I think is an off-by-one in certain worst-case scenarios
...
caused by rev 1.45. (eg: the estimate being exactly half of the result.)
2003-01-22 00:34:22 +00:00
Max Khon
b8701b5430
fix link_status() in non-Ethernet case
...
MFC after: 1 week
2003-01-22 00:14:34 +00:00
Juli Mallett
3e3f1219af
Convert badsect to use libufs.
2003-01-20 21:24:34 +00:00
Juli Mallett
3c95539d71
Add libufs to dependencies.
2003-01-20 21:18:44 +00:00
Juli Mallett
b1f0fda09f
Make tunefs use libufs, it seems to do well enough for printing / setting
...
things.
2003-01-20 21:15:02 +00:00
Juli Mallett
2a6b42f1ca
Kill initialisation and shadow warnings. Half-hearted cleanup (e.g. only the
...
more important ones) of format warnings. XXX Lots of this assumes int32 can
be printed with %d. Yuck.
Reviewed by: bde
2003-01-19 12:13:47 +00:00
Juli Mallett
87d35aadd9
Add support to marshal a filesystem to a newfs(8) command that could be used
...
to create it. A small number of options are not marshalled as they are things
it would be dumb to spit out, as they are used by internal computations, and
newfs may change them, or they may not be directly apparent.
2003-01-19 10:25:11 +00:00
Juli Mallett
bc82f9036f
Let libufs handle all the work with regard to going through a list of cgs, now.
2003-01-19 05:51:36 +00:00
Juli Mallett
a778dc9ca5
Use libufs to read one cylinder group from the disk at a time.
2003-01-19 01:31:49 +00:00
Juli Mallett
684d26ea29
Simplify the main function now that libufs will hunt for the disk for us.
2003-01-19 01:02:25 +00:00
Poul-Henning Kamp
b02a19f2b7
Fix two errorchecks to check for negative error returns.
2003-01-18 10:29:24 +00:00
Juli Mallett
e0328ede47
Consistentify output whitespace.
2003-01-18 06:29:15 +00:00
Juli Mallett
cbd866f411
Simplify conditional.
2003-01-18 04:20:20 +00:00
Poul-Henning Kamp
ddbf51af0c
Find places to store the previously implicityly passed unit number in
...
the three configuration ioctls which need a unit number.
Add a "ccd.ctl" device for config operations.
Implement ioctls on ccd.ctl which rely on the explicityly passed
unit numbers.
Update ccdconfig to use the new ccd.ctl interface.
Add code to the kernel to detect old ccdconfig binaries, and whine
about it.
Add code to ccdconfig to detect old kernels, and whine about it.
These two compatibility measures will be retained only for a limited
period since they are in the way of GEOM'ification of ccd.
2003-01-17 14:53:53 +00:00
Poul-Henning Kamp
22f2948816
Fix various details so we get to WARNS=3.
...
Center operation on unit number rather than path name.
2003-01-17 13:23:41 +00:00
Joerg Wunsch
1b915d506b
While being here, remove a couple of unused "default:" labels in switch
...
statements, now that gcc loudly complains about them.
MFC after: 1 week
2003-01-16 23:49:34 +00:00
Joerg Wunsch
80aea80e6f
Make vinum disk-related devices readable by group "operator" to match
...
the configuration of any other disk-like devices.
This is the non-DEVFS part which is normally not used in 5.x, but due
for MFC into 4.x.
PR: bin/28294, bin/32588
MFC after: 1 week
2003-01-16 23:48:34 +00:00
Dag-Erling Smørgrav
b0459c58c9
Clear part_set, part_size_type and part_offset_type before parsing the
...
ascii label; otherwise checklabel() might report spurious errors because
of leftovers from a previous pass.
Reviewed by: bde
MFC after: 1 week
2003-01-16 12:57:53 +00:00
Matthew Dillon
be013c3a8c
really, this time for sure. Fix formatting in usage().
2003-01-13 19:58:05 +00:00
Matthew Dillon
f2dddb665e
Grr. I keep forgetting things. Include -C in dump's usage() .
2003-01-13 19:56:03 +00:00
Matthew Dillon
ea8123f92b
Add support for obsolete option form for -C
2003-01-13 19:50:46 +00:00
Matthew Dillon
5941e412ca
Add a caching option to dump. Use -C. Note that NetBSD has a caching option
...
called -r but it takes 512 byte blocks instead of megabytes, and I felt a
megabytes specification would be far more useful so I did not use the same
option character.
This will *greatly* improve dump performance at the cost of possibly
missing filesystem changes that occur between passes, and does a fairly
good job making up for the loss of buffered block devices. Caching is disabled
by default to retain historical behavior.
In tests, dump performance improved by about 40% when dumping / or /usr.
Beware that dump forks and the cache may wind up being larger then you
specify, but a more complex shared memory implementation would not produce
results that are all that much better so I kept it simple for now.
MFC after: 3 days
2003-01-13 19:42:41 +00:00
Joerg Wunsch
b4206324a5
Mention the oddities and requirements for mount operations executed by
...
non-root users.
PR: docs/42651
Submitted by: Thomas Seck <tmseck@netcologne.de>
MFC after: 3 days
2003-01-13 19:42:21 +00:00
Tom Rhodes
1512a2352d
Add the /boot prefix. I forgot this when updating the location.
...
Neglected by: trhodes
2003-01-13 18:57:19 +00:00
Tom Rhodes
3df9fdfb2f
Update the kernel location in FILES.
...
PR: 47015
2003-01-13 16:15:56 +00:00
Matthew Dillon
6690be9efa
It turns out that we do not need to add a new ioctl to unbreak a
...
default-to-deny firewall. Simply turning off IPFW via a preexisting
sysctl does the job. To make it more apparent (since nobody picked up
on this in a week's worth of flames), the boolean sysctl's have been
integrated into the /sbin/ipfw command set in an obvious and straightforward
manner. For example, you can now do 'ipfw disable firewall' or
'ipfw enable firewall'. This is far easier to remember then the
net.inet.ip.fw.enable sysctl.
Reviewed by: imp
MFC after: 3 days
2003-01-12 03:31:10 +00:00
Matthew Dillon
654e22e7bb
Cleanup the formatting from the last commit, convert everything to
...
a more human-readable 'kilobytes' instead of pages.
2003-01-11 20:03:43 +00:00
Matthew Dillon
f7550ecf3f
Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten.
...
(the patch in the PR was stale).
PR: kern/5689
Submitted by: Hiten Pandya <hiten@unixdaemons.com>
2003-01-11 07:29:47 +00:00
David E. O'Brien
6907df799e
I don't know where we got this ccd creation example from... or if it was
...
ever correct. It certainly hasn't been correct for *years*, and it
conflicts with the FAQ. So update this example to match the FAQ.
2003-01-10 17:46:22 +00:00
Sheldon Hearn
2ab3df59b0
Add TAPE to the ENVIRONMENT section and standardize the section, using a
...
list instead of prose.
MFC after: 1 month
2003-01-10 10:59:11 +00:00
Sheldon Hearn
c359d71a85
Add TAPE to the ENVIRONMENT section.
...
MFC after: 1 month
2003-01-10 10:55:13 +00:00
Sheldon Hearn
d1d5a33b13
Add an ENVIRONMENT section so that the reader knows that the TMPDIR envar
...
is honoured.
Reported by: des
MFC after: 1 month
2003-01-10 10:45:48 +00:00
Warner Losh
c3207b4d9a
These are OBE. devd.conf now lives in /etc.
2003-01-09 04:11:19 +00:00
Peter Wemm
9610ca7451
Change this:
...
#include <strings.h>
...
foo = (char *)strdup(...);
To:
#include <string.h>
foo = strdup(...);
because the former segfaults on an ia64 since there is no prototype
for strdup() in strings.h. Converting an "int" to a pointer is fatal.
2003-01-08 06:43:27 +00:00
Warner Losh
9f9bcbde42
Terminate the usage message with \n.
...
Submitted by: joe
2003-01-06 16:46:25 +00:00
Warner Losh
8b823408c6
MFp4: make it work
...
o Expand variables correctly.
o Set variables for each event.
o rewrite event loop to execute the commands in the config file, rather
than the hard wired generic command
o better(?) debug when running -d
o sort vectors of actions so that we just have to search for the first
one to match rather than the best one that matches.
o better attempts to clear all resources used on 'restart'
o Remove now bogus comments
MFC After: 1 centiyear
2003-01-06 08:09:41 +00:00
Warner Losh
267e74adbd
devd not devdd
...
submitted by: joe
2003-01-06 08:03:00 +00:00
Giorgos Keramidas
c41a3921ef
Fix a reference to the order of SYNOPSIS lines.
...
Submitted by: Olivier Cherrier <Olivier.Cherrier@cediti.be>
on freebsd-net
MFC after: 3 days
2003-01-05 00:09:23 +00:00
Yoshihiro Takahashi
404a379e4a
Rename the dos_partition structure for pc98 to pc98_partition.
2003-01-04 08:50:48 +00:00
Poul-Henning Kamp
fc6db1e23f
Remove CCDF_SWAP and CCDF_PARITY. They have never been implemented.
2003-01-03 08:56:54 +00:00
Jens Schweikhardt
9d5abbddbf
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
...
especially in troff files.
2003-01-01 18:49:04 +00:00
Jens Schweikhardt
d64ada501a
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
Mike Barcroft
9255f32701
Remove hack from rev 1.15; getbsize(3)'s original interface has been
...
restored.
2002-12-30 18:24:14 +00:00
David E. O'Brien
b403e40637
This really isn't WARNS clean.
2002-12-30 09:38:46 +00:00
Mike Barcroft
69095b0264
Make the first argument to getbsize(3) a `size_t *'. This is a hack
...
since getbsize(3) should have `int *' as its first parameter.
2002-12-30 05:35:06 +00:00
Poul-Henning Kamp
f353c761f7
Make fdisk work on active GEOM devices.
2002-12-29 15:17:11 +00:00
Matthew Dillon
a420c8119a
Add 'swapctl' - as a hardlink to swapon/swapoff, and augment swapon with
...
swapctl functionality. The idea is to create a swapctl command that is
fairly close to the OpenBSD and NetBSD version. FreeBSD does not implement
swap priority (and it would be a mistake if we did) so we didn't bother with
that part of it.
Submitted by: Eirik Nygaard <eirikn@bluezone.no>
Augmented by: dillon (extensively)
Reviewed by: David Schultz <dschultz@uclink.Berkeley.EDU>
2002-12-28 23:39:47 +00:00
Jens Schweikhardt
57bd0fc6e8
english(4) police.
2002-12-27 12:15:40 +00:00
Ruslan Ermilov
074ad11567
Spelling: s/then/than/ where appropriate.
2002-12-24 16:52:31 +00:00
Ruslan Ermilov
facc67676f
mdoc(7) police: Deal with self-xrefs.
2002-12-24 13:41:48 +00:00
Kelly Yancey
ca6e3cb0e4
Make preprocessor support more generic by passing all command-line options
...
after -p except for the last (the ruleset file to process) to the
preprocessor for interpretation. This allows command-line options besides
-U and -D to be passed to cpp(1) and m4(1) as well as making it easier to
use other preprocessors.
Sponsored By: NTT Multimedia Communications Labs
MFC after: 1 week
2002-12-23 20:08:21 +00:00
Ruslan Ermilov
463cfa804d
Fixed the abuses of .Ql visible on stderr in troff mode.
...
PR: docs/37176
2002-12-23 16:04:51 +00:00
Ruslan Ermilov
9d7efb0752
mdoc(7) police: fixed the misplaced .Bl call.
2002-12-23 15:36:04 +00:00
Ruslan Ermilov
31eb65150e
mdoc(7) police: markup nits.
2002-12-23 15:30:40 +00:00
Poul-Henning Kamp
1e90b74683
Solve another bug in the mapping code: correctly skip lock sectors.
...
Make sure sector zero is protected if it contains metadata.
Lower WARNS for gbde to 3 on non-i386 archs. rijndael-fst is evil
but appearntly does the right thing and passes the test-vectors.
MFC Candidate.
2002-12-18 22:11:54 +00:00
Poul-Henning Kamp
88806cc28c
Fix two blunders in the mapping functions which can lead to corrupt data,
...
for request sizes larger than the sectorsize or for multi-key setups.
See warning mailed to current@ for details of recovery.
Found by: Marcus Reid <marcus@blazingdot.com>
2002-12-18 19:57:27 +00:00
Poul-Henning Kamp
c6e3e82803
Untwist a twisty bit of logic which gcc for some reason cannot see
...
through on ia64.
2002-12-18 07:25:33 +00:00
Warner Losh
5102ef8416
Latest snapshot of devd. This one adds re-matching and string
...
expansion.
2002-12-18 07:08:01 +00:00
Brian Feldman
f45a1cab59
Back out the previous commit, since there could be dire consequences if
...
/etc/rc were accidentally executed (as requested by other committeers).
2002-12-17 21:23:36 +00:00
Brian Feldman
1ad1ab1434
/home/green/tmp/cvsSFosXg
2002-12-17 20:39:38 +00:00
Poul-Henning Kamp
5cb6703e29
Straighten out a compound if() to improve readability marginally.
2002-12-17 19:33:44 +00:00
Poul-Henning Kamp
62998d5574
A couple of stylistic improvements.
2002-12-17 19:16:10 +00:00
Nate Lawson
a7e5261e30
Add PERIPH and XPT debug options to camcontrol. This makes all CAM debug
...
options tunable from userland.
Approved by: ken
MFC after: 3 days
2002-12-17 06:05:21 +00:00
Matthew Dillon
92da00bb24
This is David Schultz's swapoff code which I am finally able to commit.
...
This should be considered highly experimental for the moment.
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 3 weeks
2002-12-15 19:17:57 +00:00
Tom Rhodes
b74163dfc5
Add a list of currently supported modes && an EXAMPLES section.
...
PR: 40465
Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
2002-12-14 18:38:34 +00:00
Warner Losh
9cf092a263
MFp4: Make ifs consistant with rest of file.
2002-12-13 19:47:07 +00:00
Ruslan Ermilov
c8d40b7d34
mdoc(7) police: sort xrefs in SEE ALSO.
2002-12-13 16:53:51 +00:00
Tom Rhodes
97d0a1b862
Remove the incorrect information about dump(8) and snapshots. All the
...
dump(8) issues are assumed to be fixed.
PR: 46224
Submitted By: Chris Knight <chris@aims.com.au>
Approved By: re (murray)
2002-12-13 16:35:23 +00:00
Ruslan Ermilov
8d5d039f80
Uniformly refer to a file system as "file system".
...
Approved by: re
2002-12-12 17:26:04 +00:00
Ruslan Ermilov
afb09e9fb8
mdoc(7) police: overhaul.
2002-12-12 13:40:31 +00:00
Ruslan Ermilov
7faa4ab461
mdoc(7) police: markup overhaul.
...
Approved by: re
2002-12-12 08:53:20 +00:00
Tom Rhodes
6643a19c79
mount_udf(8) is currently not in 4.X, so obviously it did not first appear
...
in 4.6
PR: 46117
Submitted by: Ryuichiro Imura <imura@ryu16.org>
Approved by: re (bmah)
2002-12-12 05:56:36 +00:00
Greg Lehey
ae1e3c0330
vinum_info: Correct the print formats to allow for 64 bit pointers.
...
Approved by: re (jhb).
2002-12-12 02:25:30 +00:00
Ruslan Ermilov
fc412d1be7
mdoc(7) police: Use the default .Os version.
...
Approved by: re
2002-12-11 15:57:40 +00:00
Ruslan Ermilov
7ba060236b
mdoc(7) police: markup nits.
...
Approved by: re
2002-12-09 13:06:34 +00:00
Ian Dowse
9d580d7c5f
Slow down the operation of background fsck so as to leave some disk
...
bandwidth for other processes. Since the sleeping is done from
userland, this avoids the locking issues that affected the kernel
version.
The algorithm used here is to measure a moving average of the times
taken by a sample of read operations and then delay 1 in 8 reads
by 16 times the measured average. This should correspond to a factor
of 3 slowdown, but in practice the factor is larger (3.5 to 4) due
to hz rounding effects.
Reviewed by: mckusick
Approved by: re
2002-12-07 21:40:31 +00:00
Warner Losh
3054f218eb
MFp4 (imp_freebsd branch): snapshot of devd work:
...
o improve parsing and lexing
o create data structures based on the parsed file now.
o Still need to rewrite main loop and add regex (still uses hard coded
devd-generic)
o minor man page updates.
# There should be one more commit before rc2
Approved by: re (blanket)
2002-12-07 08:04:36 +00:00
SUZUKI Shinsuke
45289b43fb
corrected buffer lengths for memset()
...
obtained from: KAME
MFC after: 3 days
2002-12-06 02:11:31 +00:00