dragonfly.git
14 years agoAdd SYSCTL_NODE_CHILDREN.
Joerg Sonnenberger [Sat, 6 Aug 2005 17:57:59 +0000 (17:57 +0000)]
Add SYSCTL_NODE_CHILDREN.

Obtained-from: FreeBSD

14 years agoFix forgotten comma from last commit.
Sascha Wildner [Sat, 6 Aug 2005 13:34:14 +0000 (13:34 +0000)]
Fix forgotten comma from last commit.

14 years agoRemove the old namei(9) man page and make namei(9) a link to nlookup(9).
Sascha Wildner [Sat, 6 Aug 2005 13:20:56 +0000 (13:20 +0000)]
Remove the old namei(9) man page and make namei(9) a link to nlookup(9).

14 years agoClean up copyright notice and remove reference to comments.
Sascha Wildner [Sat, 6 Aug 2005 13:14:21 +0000 (13:14 +0000)]
Clean up copyright notice and remove reference to comments.

14 years agoAdd nlookup(9) man page.
Sascha Wildner [Sat, 6 Aug 2005 12:42:42 +0000 (12:42 +0000)]
Add nlookup(9) man page.

14 years agoUpdate copyright notice. Use standard DF copyright.
Hiten Pandya [Sat, 6 Aug 2005 12:09:30 +0000 (12:09 +0000)]
Update copyright notice.  Use standard DF copyright.

14 years agoRemove NDINIT(9) link again. The old API was removed on 2004/11/12.
Sascha Wildner [Sat, 6 Aug 2005 11:36:13 +0000 (11:36 +0000)]
Remove NDINIT(9) link again. The old API was removed on 2004/11/12.

14 years agoGlobal .Nm vs. MLINKS cleanup:
Sascha Wildner [Fri, 5 Aug 2005 23:43:19 +0000 (23:43 +0000)]
Global .Nm vs. MLINKS cleanup:

* Add missing MLINKS.

* Fix MLINKS for rtld(1).

* Remove suser_xxx(9) man page.

* Remove archive_entry_uname_w(3) and archive_entry_gname_w(3) links
  (these functions don't exist).

* Fix typo in lib/libc/db/man/Makefile.inc and remove mis-spelled
  dbm_dirnfo(3) link.

14 years agoFix typo from the last commit.
Sascha Wildner [Fri, 5 Aug 2005 23:22:23 +0000 (23:22 +0000)]
Fix typo from the last commit.

14 years agoGet rid of the Byte typedef and just use char. This gets rid of alot
Max Okumoto [Fri, 5 Aug 2005 22:42:12 +0000 (22:42 +0000)]
Get rid of the Byte typedef and just use char.  This gets rid of alot
of casts.

CVS ----------------------------------------------------------------------

14 years agoOnly one name per .Nm macro for better readability.
Sascha Wildner [Fri, 5 Aug 2005 22:35:11 +0000 (22:35 +0000)]
Only one name per .Nm macro for better readability.

14 years agoFix typos: CIRCLE_* -> CIRCLEQ_*
Sascha Wildner [Fri, 5 Aug 2005 21:49:22 +0000 (21:49 +0000)]
Fix typos: CIRCLE_* -> CIRCLEQ_*

14 years agoFix typo.
Sascha Wildner [Fri, 5 Aug 2005 21:45:46 +0000 (21:45 +0000)]
Fix typo.

14 years agoLink to the real file.
Sascha Wildner [Fri, 5 Aug 2005 18:01:16 +0000 (18:01 +0000)]
Link to the real file.

14 years agoMention the shell builtin.
Sascha Wildner [Fri, 5 Aug 2005 17:50:50 +0000 (17:50 +0000)]
Mention the shell builtin.

14 years agoFix man page and variable references.
Sascha Wildner [Fri, 5 Aug 2005 16:08:28 +0000 (16:08 +0000)]
Fix man page and variable references.

14 years agoFix man page reference: tcpdump(8) -> tcpdump(1).
Sascha Wildner [Fri, 5 Aug 2005 15:35:53 +0000 (15:35 +0000)]
Fix man page reference: tcpdump(8) -> tcpdump(1).

14 years agoRemove man page for PicoBSD which was removed on 2004/11/15.
Sascha Wildner [Fri, 5 Aug 2005 15:19:35 +0000 (15:19 +0000)]
Remove man page for PicoBSD which was removed on 2004/11/15.

14 years agoFix man page cross references.
Sascha Wildner [Fri, 5 Aug 2005 14:56:59 +0000 (14:56 +0000)]
Fix man page cross references.

14 years agoRemove drivers.conf(5) man page. The file was removed on 2004/11/15.
Sascha Wildner [Fri, 5 Aug 2005 10:13:43 +0000 (10:13 +0000)]
Remove drivers.conf(5) man page. The file was removed on 2004/11/15.

14 years agoFix cross reference: makewhatis(1) -> makewhatis(8).
Sascha Wildner [Fri, 5 Aug 2005 09:47:55 +0000 (09:47 +0000)]
Fix cross reference: makewhatis(1) -> makewhatis(8).

14 years agoBUF/BIO cleanup 5/99:
Hiten Pandya [Fri, 5 Aug 2005 04:54:42 +0000 (04:54 +0000)]
BUF/BIO cleanup 5/99:

Cleanup and document the buffer cache sysctls.  The 'getnewbufrestarts',
'getnewbufcalls', 'bufdefragcnt', 'buffreekvacnt' and 'bufreusecnt' are
now changed to be read-only sysctls.  Group them depending on whether
they are writable or not.

Correct, extend and write documentation for various functions in this
file.

Correct typos in various code comments and adjust nearby style issue.

14 years agoDocument non-obvious behaviour of missing 'a' line in fdisk script.
Chris Pressey [Thu, 4 Aug 2005 22:15:07 +0000 (22:15 +0000)]
Document non-obvious behaviour of missing 'a' line in fdisk script.

Thanks-to: pfSense testers

14 years agoBUF/BIO cleanup 4/99:
Hiten Pandya [Thu, 4 Aug 2005 21:08:35 +0000 (21:08 +0000)]
BUF/BIO cleanup 4/99:

Garbage-collect physio_proc_{enter,leave,init} because these functions
only existed for PC-98 compatibility reasons.  This commit is a NOP
and shouldn't make any operational difference.

The purpose of those functions was totally redundant, it just kept a
copy of buf->b_proc and other fields in a separately maintained TAILQ
list called physio_proc_head and physio_proc_feet corresponding to
physio_proc_enter/leave respectively.

The stub definitions and the machine/physio_proc.h header file will
disappear after the drivers using these functions are cleaned up.

14 years agoRemove crossrefs to non-existant usb(3) man page.
Sascha Wildner [Thu, 4 Aug 2005 21:06:32 +0000 (21:06 +0000)]
Remove crossrefs to non-existant usb(3) man page.

14 years agoFix man page cross reference.
Sascha Wildner [Thu, 4 Aug 2005 20:45:57 +0000 (20:45 +0000)]
Fix man page cross reference.

14 years ago- If at least one call to onehost() fails, return 1
Liam J. Foy [Thu, 4 Aug 2005 18:21:25 +0000 (18:21 +0000)]
- If at least one call to onehost() fails, return 1

Ok: joerg

14 years agoRemove some register keywords and add in some missing $DragonFly$ tags.
David Rhodus [Thu, 4 Aug 2005 17:31:23 +0000 (17:31 +0000)]
Remove some register keywords and add in some missing $DragonFly$ tags.

14 years agoANSI-fy some functions, remove some duplicate CVS tags and add in some
David Rhodus [Thu, 4 Aug 2005 17:27:09 +0000 (17:27 +0000)]
ANSI-fy some functions, remove some duplicate CVS tags and add in some
missging $DragonFly$ tags.

14 years agoInitialize buf->b_iodone to NULL during bufinit(9) stage.
Hiten Pandya [Thu, 4 Aug 2005 16:44:37 +0000 (16:44 +0000)]
Initialize buf->b_iodone to NULL during bufinit(9) stage.

Use NULL instead of 0 for assigning to pointers.

14 years agoRemove unused include of sys/dirent.h.
Joerg Sonnenberger [Thu, 4 Aug 2005 16:44:12 +0000 (16:44 +0000)]
Remove unused include of sys/dirent.h.

14 years agoPut unused flag space definitions back to their original position in
Hiten Pandya [Thu, 4 Aug 2005 16:28:30 +0000 (16:28 +0000)]
Put unused flag space definitions back to their original position in
order to avoid confusion.

Requested-by: Matt
14 years agoMake print statements more verbose.
David Rhodus [Thu, 4 Aug 2005 15:38:58 +0000 (15:38 +0000)]
Make print statements more verbose.

14 years agoRemove scheduler define which was never used.
David Rhodus [Thu, 4 Aug 2005 15:37:20 +0000 (15:37 +0000)]
Remove scheduler define which was never used.

14 years ago- Don't flag NIS entries at invalid
Liam J. Foy [Thu, 4 Aug 2005 13:10:25 +0000 (13:10 +0000)]
- Don't flag NIS entries at invalid

Submitted by:   Bob Willcox <bob@immure.com>

14 years agoBring in better comments for hash.h from NetBSD
Max Okumoto [Thu, 4 Aug 2005 00:21:50 +0000 (00:21 +0000)]
Bring in better comments for hash.h from NetBSD

14 years agoBring in better comment for hash.c function header from NetBSD
Max Okumoto [Thu, 4 Aug 2005 00:19:04 +0000 (00:19 +0000)]
Bring in better comment for hash.c function header from NetBSD

14 years agoAdd a new system config directive called "nonoptional" which specifies
Matthew Dillon [Wed, 3 Aug 2005 23:33:52 +0000 (23:33 +0000)]
Add a new system config directive called "nonoptional" which specifies
files based on options which MUST be specified in the kernel config.

Make the option to maintain compatibility with DragonFly 1.2 (and older
1.3 kernels) non-optional.

Older versions of config will not recognize the new option and generate
a reasonable error, rather then blindly compile a kernel without 1.2
support, hopefully prompting people to recompile their config
program rather then post a bug report.

14 years agoCast ctype.h function paramters to (unsigned char).
Max Okumoto [Wed, 3 Aug 2005 23:20:35 +0000 (23:20 +0000)]
Cast ctype.h function paramters to (unsigned char).

14 years agoRemove casting of NULL
Max Okumoto [Wed, 3 Aug 2005 22:00:16 +0000 (22:00 +0000)]
Remove casting of NULL

14 years agoBring in better comments for hash.c from NetBSD.
Max Okumoto [Wed, 3 Aug 2005 21:43:08 +0000 (21:43 +0000)]
Bring in better comments for hash.c from NetBSD.

14 years agoInclude stdbool.h in files header files that need it instead of util.h
Max Okumoto [Wed, 3 Aug 2005 19:48:44 +0000 (19:48 +0000)]
Include stdbool.h in files header files that need it instead of util.h

14 years agoMake debug definition match forward declaration.
Max Okumoto [Wed, 3 Aug 2005 18:34:39 +0000 (18:34 +0000)]
Make debug definition match forward declaration.

14 years agoMake prototype match up with function definition.
Max Okumoto [Wed, 3 Aug 2005 18:29:02 +0000 (18:29 +0000)]
Make prototype match up with function definition.

14 years agoFreeBSD-Date: 2005/07/31 04:30:46
Max Okumoto [Wed, 3 Aug 2005 17:33:30 +0000 (17:33 +0000)]
FreeBSD-Date: 2005/07/31 04:30:46
Author: keramida

Fix all the spelling mistakes I could find in the man pages for words
that have at least 3 characters.

MFC after:      1 week
Thanks to:      Music band ``Chingon''
                for keeping me company while searching for these.

14 years agoBring name of an unused flag field in line with the rest.
Hiten Pandya [Wed, 3 Aug 2005 16:55:11 +0000 (16:55 +0000)]
Bring name of an unused flag field in line with the rest.

14 years agoBUF/BIO cleanup 3/99:
Hiten Pandya [Wed, 3 Aug 2005 16:36:33 +0000 (16:36 +0000)]
BUF/BIO cleanup 3/99:

Retire the B_CALL flag in favour of checking the bp->b_iodone pointer
directly, thus simplifying the BUF interface even more.

Move scattered B_UNUSED* flag space defintions into one place, that
is below the rest of the definitions.

14 years agoDon't reference nanosleep at all, but describe the behaviour.
Simon Schubert [Wed, 3 Aug 2005 16:07:39 +0000 (16:07 +0000)]
Don't reference nanosleep at all, but describe the behaviour.

14 years agoAdd a workaround to make 3COM cardbus cards to propagate the device
Hiten Pandya [Wed, 3 Aug 2005 16:01:11 +0000 (16:01 +0000)]
Add a workaround to make 3COM cardbus cards to propagate the device
information to the driver.  This is the first step to get the cards
probing and attaching, minus whatever interrupt routing issues.

The proper fix will be addressed by Joerg but we really do require
an interrim solution to the problem.

--
The 575A doesn't have funcregs in memio, so don't claim that it does;
this gets the card to work.  Change obtained from FreeBSD, committed
by Warner Losh to sys/pci/if_xl.c rev. 1.192.

14 years agoAdd test for comparing following types of conditionals:
Hiten Pandya [Wed, 3 Aug 2005 13:37:27 +0000 (13:37 +0000)]
Add test for comparing following types of conditionals:

 - comparing a function pointer to NULL from a struct pointer
 - comparing a function pointer to NULL from a struct
 - bit-testing

14 years agoRemove libraries libtermcap and libcompat from the linking.
Eirik Nygaard [Wed, 3 Aug 2005 13:31:00 +0000 (13:31 +0000)]
Remove libraries libtermcap and libcompat from the linking.
style(9) cleanup
WARNS?= 6 cleanup
Use true, false and bool from stdbool.h instead of hand rolled versions.

Submitted by: Peter Avalos <pavalos@theshell.com>

Add DragonFly keywords.

14 years agoReference nanosleep(2) instead of sleep(3). It matches the behavior
Simon Schubert [Wed, 3 Aug 2005 13:30:48 +0000 (13:30 +0000)]
Reference nanosleep(2) instead of sleep(3).  It matches the behavior
more closely.

14 years agoAdd flag for compiling the tests without GCC -O2 optimisations, quite
Hiten Pandya [Wed, 3 Aug 2005 13:29:45 +0000 (13:29 +0000)]
Add flag for compiling the tests without GCC -O2 optimisations, quite
useful for getting real numbers.

14 years agoWARNS?= 6 and style(9) cleanup.
Eirik Nygaard [Wed, 3 Aug 2005 13:26:19 +0000 (13:26 +0000)]
WARNS?= 6 and style(9) cleanup.

Submitted by: Peter Avalos <pavalos@theshell.com>

14 years agoNote that select behaves like sleep(3) when no descriptors are being checked.
Simon Schubert [Wed, 3 Aug 2005 12:44:23 +0000 (12:44 +0000)]
Note that select behaves like sleep(3) when no descriptors are being checked.

14 years agoUpdate manpages to reflect the changes joerg did that added const to some
Eirik Nygaard [Wed, 3 Aug 2005 09:56:19 +0000 (09:56 +0000)]
Update manpages to reflect the changes joerg did that added const to some
function arguments.

Submitted by: Peter Avalos <pavalos@theshell.com>

14 years agoBUF/BIO cleanup 2/99:
Hiten Pandya [Wed, 3 Aug 2005 04:59:53 +0000 (04:59 +0000)]
BUF/BIO cleanup 2/99:

Localise buffer queue information into kern/vfs_bio.c, it should not be
messed with outside of the named file.  Convert the QUEUE_* #defines
into enum bufq_type, prefix the names with 'B'.  The change to initpbuf()
is acceptable since they are a hack anyway, not to mention that

Move vfs_bufstats() from kern/vfs_syscalls.c into kern/vfs_bio.c since
that's where it should really belong, atleast till its use is cleaned.

Move bufqueues extern from sys/buf.h into kern/vfs_bio.c as it shouldn't
be messed with by anything else.  It was only sitting in sys/buf.h
because of vfs_bufstats().

Note the change to initpbuf() is acceptable since they are a hack anyway,
not to mention that the said function and friends should probably reside
in kern/vfs_bio.c.

14 years agoReally support rpath only linking. Add a special option -nolibc which
Joerg Sonnenberger [Wed, 3 Aug 2005 03:12:00 +0000 (03:12 +0000)]
Really support rpath only linking. Add a special option -nolibc which
doesn't link a shared object against libc.

14 years agoClean up search directories to what we really use.
Joerg Sonnenberger [Tue, 2 Aug 2005 21:15:12 +0000 (21:15 +0000)]
Clean up search directories to what we really use.

14 years agoCatch up with reality, this is GCC 3.4.4.
Joerg Sonnenberger [Tue, 2 Aug 2005 21:13:37 +0000 (21:13 +0000)]
Catch up with reality, this is GCC 3.4.4.

14 years agoFix wrong section in manpage reference.
Sascha Wildner [Tue, 2 Aug 2005 20:48:02 +0000 (20:48 +0000)]
Fix wrong section in manpage reference.

14 years agoIntroduce a make variable PACKAGE_SITES to improve package fetching in
Chris Pressey [Tue, 2 Aug 2005 17:57:14 +0000 (17:57 +0000)]
Introduce a make variable PACKAGE_SITES to improve package fetching in
two ways:
- PACKAGE_SITES is a list of base URLs where packages are to be fetched
  from; if a package cannot be fetched from the first site, the second
  is tried, etc, until either the package is fetched, or all sites have
  been tried (at which point failure is announced.)  This allows
  multiple sites to be set up as package mirrors.
- PACKAGE_SITES is overridable by the administrator on the make command
  line, so that they may specify where e.g. any custom packages they
  may have shall be fetched from.

14 years agoUpdate filename in comments.
Hiten Pandya [Tue, 2 Aug 2005 17:11:04 +0000 (17:11 +0000)]
Update filename in comments.

14 years agoReduce diffs with BSD Installer repo:
Chris Pressey [Tue, 2 Aug 2005 17:02:59 +0000 (17:02 +0000)]
Reduce diffs with BSD Installer repo:
- Add/update explanatory comments.
- Honour $pfi_backend variable when running on serial port.

14 years agoStyle(9):
Chris Pressey [Tue, 2 Aug 2005 16:27:48 +0000 (16:27 +0000)]
Style(9):
- Add more explanatory comments.
- Mark an unused parameter as __unused.

14 years agoReadd fix for FreeBSD PR/30631.
Joerg Sonnenberger [Tue, 2 Aug 2005 16:26:30 +0000 (16:26 +0000)]
Readd fix for FreeBSD PR/30631.

No-cookie-for: David Rhodus

14 years agoRegen.
Joerg Sonnenberger [Tue, 2 Aug 2005 13:19:30 +0000 (13:19 +0000)]
Regen.

14 years agoEnforce COMPAT_DF12 for now, this can be overriden via NO_COMPAT_DF12
Joerg Sonnenberger [Tue, 2 Aug 2005 13:18:25 +0000 (13:18 +0000)]
Enforce COMPAT_DF12 for now, this can be overriden via NO_COMPAT_DF12
from the environment.

Revert-after: 1 month

14 years agoRequire 1.3.4 before installworld.
Joerg Sonnenberger [Tue, 2 Aug 2005 13:07:50 +0000 (13:07 +0000)]
Require 1.3.4 before installworld.

14 years agoBump version to 1.3.4 for stat changes.
Joerg Sonnenberger [Tue, 2 Aug 2005 13:06:36 +0000 (13:06 +0000)]
Bump version to 1.3.4 for stat changes.

14 years agoMake nlink_t 32bit and ino_t 64bit. Implement the old syscall numbers
Joerg Sonnenberger [Tue, 2 Aug 2005 13:03:55 +0000 (13:03 +0000)]
Make nlink_t 32bit and ino_t 64bit. Implement the old syscall numbers
for *stat by wrapping the new syscalls and truncation of the values.
Add a hack for boot2 to keep ino_t 32bit, otherwise we would have to
link the 64bit math code in and that would most likely overflow boot2.
Bump libc major to annotate changed ABI and work around a problem with
strip during installworld. strip is dynamically linked and doesn't play
well with the new libc otherwise.

Support for 64bit inode numbers is still incomplete, because the dirent
limited to 32bit. The checks for nlink_t have to be redone too.

14 years agoAdd missing bit of the wchar stdio support and hook the whole thing in.
Joerg Sonnenberger [Tue, 2 Aug 2005 00:44:39 +0000 (00:44 +0000)]
Add missing bit of the wchar stdio support and hook the whole thing in.
Cover up temporary breakage from missing floatio.h commit.

Obtained-from: FreeBSD via NetBSD

14 years agoConstify xdigs argument to __u[lj]toa. Cast u_long and u_quad_t to
Joerg Sonnenberger [Mon, 1 Aug 2005 22:50:45 +0000 (22:50 +0000)]
Constify xdigs argument to __u[lj]toa. Cast u_long and u_quad_t to
size_t before using them as index. Rename MAXEXP to MAXEXPDIG. Rename
exp to expo to avoid shadowing.

Inspired-by: FreeBSD
14 years agoInstead of always defining FLOATING_POINT to get floating point, define
Joerg Sonnenberger [Mon, 1 Aug 2005 22:35:40 +0000 (22:35 +0000)]
Instead of always defining FLOATING_POINT to get floating point, define
NO_FLOATING_POINT to not include it.

Inspired-by: FreeBSD
14 years agoAdd dependencies on files being distributed. This unbreaks nrelease.
Simon Schubert [Mon, 1 Aug 2005 22:03:15 +0000 (22:03 +0000)]
Add dependencies on files being distributed.  This unbreaks nrelease.

14 years agolibutil.h hsa to go after pwd.h.
Joerg Sonnenberger [Mon, 1 Aug 2005 20:59:46 +0000 (20:59 +0000)]
libutil.h hsa to go after pwd.h.

14 years agoAdd new option COMPAT_DF12, used for ABI compatibility with DragonFly
Joerg Sonnenberger [Mon, 1 Aug 2005 20:11:18 +0000 (20:11 +0000)]
Add new option COMPAT_DF12, used for ABI compatibility with DragonFly
1.2 and earlier.

14 years agoUpdate description of msfbufs sysctls.
Hiten Pandya [Mon, 1 Aug 2005 20:05:53 +0000 (20:05 +0000)]
Update description of msfbufs sysctls.

14 years agoMerge from vendor branch OPENPAM:
Joerg Sonnenberger [Mon, 1 Aug 2005 16:15:19 +0000 (16:15 +0000)]
Merge from vendor branch OPENPAM:
Import pam_deny, pam_permit and pam_unix from FreeBSD, use them instead
of the sample modules from OpenPAM. I should read release notes in
greater detail. Thanks to DES for pointing that out.

14 years agoImport pam_deny, pam_permit and pam_unix from FreeBSD, use them instead
Joerg Sonnenberger [Mon, 1 Aug 2005 16:15:19 +0000 (16:15 +0000)]
Import pam_deny, pam_permit and pam_unix from FreeBSD, use them instead
of the sample modules from OpenPAM. I should read release notes in
greater detail. Thanks to DES for pointing that out.

14 years agoImport pam_deny, pam_permit and pam_unix from FreeBSD, use them instead
Joerg Sonnenberger [Mon, 1 Aug 2005 16:15:19 +0000 (16:15 +0000)]
Import pam_deny, pam_permit and pam_unix from FreeBSD, use them instead
of the sample modules from OpenPAM. I should read release notes in
greater detail. Thanks to DES for pointing that out.

14 years agoAdd passwd manipulation code based on parts of vipw and chpass.
Joerg Sonnenberger [Mon, 1 Aug 2005 16:13:20 +0000 (16:13 +0000)]
Add passwd manipulation code based on parts of vipw and chpass.

Obtained-from: FreeBSD

Keep pw_scan.c for now until it's clear whether __pw_scan can be
merged pw_scan.

14 years agoRemove trailing blank space characters. mdoc(7) explicitly recommends doing
Sascha Wildner [Mon, 1 Aug 2005 01:49:18 +0000 (01:49 +0000)]
Remove trailing blank space characters. mdoc(7) explicitly recommends doing
so lest troff might get confused.

14 years agoConvert to mdoc.
Sascha Wildner [Mon, 1 Aug 2005 00:35:08 +0000 (00:35 +0000)]
Convert to mdoc.

14 years agoConvert to mdoc.
Sascha Wildner [Mon, 1 Aug 2005 00:21:07 +0000 (00:21 +0000)]
Convert to mdoc.

14 years agoBump the development branch sub-version from 1.3.2 to 1.3.3, indicating
Matthew Dillon [Sun, 31 Jul 2005 22:58:03 +0000 (22:58 +0000)]
Bump the development branch sub-version from 1.3.2 to 1.3.3, indicating
the many critical bug fixes that have been made in the last few weeks.

14 years agoStephan believes that this patch, just committed to FreeBSD, may fix
Matthew Dillon [Sun, 31 Jul 2005 22:25:46 +0000 (22:25 +0000)]
Stephan believes that this patch, just committed to FreeBSD, may fix
softupdates deadlocks reported by Tomaz Borstnar.  Symptoms were basically
that the syncer would block in getblk() after approximately 1 weeks operation
under moderate filesystem load due to a softupdates-locked indirect block
buffer which was never being released.  This would prevent file blocks
from being freed and cause the filesystem to appear to fill up.  The problem
was originally believed to be a bug in the IPS driver, but turns out not to
be.

This will be MFCd to RELEASE once testing is complete.

FreeBSD commit msg:
    Delay freeing disk space for file system blocks until all dirty buffers
    are safely released. This fixes softdep problems on truncation
    (deletion) of files with dirty buffers.
Testing-by: =?ISO-8859-2?Q?Toma=BE_Bor=B9tnar?= <tomaz.borstnar@amis.net>
Taken-from: FreeBSD / ffs_softdep.c 1.182.
Original-Author: Stephan Uphoff <ups@tree.com> (FreeBSD)

14 years agoConvert to mdoc.
Sascha Wildner [Sun, 31 Jul 2005 21:38:32 +0000 (21:38 +0000)]
Convert to mdoc.

14 years ago1) De-K&R-ify function declarations, add const where necessary and bump
Sascha Wildner [Sun, 31 Jul 2005 20:40:26 +0000 (20:40 +0000)]
1) De-K&R-ify function declarations, add const where necessary and bump
   WARNS to 6.

2) Remove duplicate CVS tag.

3) Remove unnecessary void casts.

4) Remove parameter names from function prototypes and make functions static.

5) Really use the usage() function.

6) Minor style cleanup.

(1) submitted by: Peter Avalos <pavalos@theshell.com>

14 years agoAdd DragonFly 1.3.2.
Sascha Wildner [Sun, 31 Jul 2005 12:35:50 +0000 (12:35 +0000)]
Add DragonFly 1.3.2.

14 years agoTake the -h use case separate to make it clearer.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 12:27:29 +0000 (12:27 +0000)]
Take the -h use case separate to make it clearer.

Specify conformity and extensions.

14 years agoPull -h to its own synopsis line to avoid possible confusion of it being
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 12:21:33 +0000 (12:21 +0000)]
Pull -h to its own synopsis line to avoid possible confusion of it being
used in conjunction with H, L, or P.

Add conformity line.

14 years agoAdd -f to the non-standard list.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 12:08:12 +0000 (12:08 +0000)]
Add -f to the non-standard list.

14 years agoUse POSIX wording of the -R option, the previous one was really unclear
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 12:02:44 +0000 (12:02 +0000)]
Use POSIX wording of the -R option, the previous one was really unclear
what it did.

14 years agoDocument SUSv3 conformity.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:53:46 +0000 (11:53 +0000)]
Document SUSv3 conformity.

14 years agoUse consistent wording, blank has been changed to empty (which is POSIX
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:48:47 +0000 (11:48 +0000)]
Use consistent wording, blank has been changed to empty (which is POSIX
terminology), reflect this.

14 years agoAdd DIAGNOSTICS.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:46:52 +0000 (11:46 +0000)]
Add DIAGNOSTICS.

Specify conformity to SUSv3 and note how the utility is ahead of the standard
as described in the FUTURE DIRECTIONS of said standard.

14 years agoRemove part about 89 and 1989, we live in the 21st century now.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:33:34 +0000 (11:33 +0000)]
Remove part about 89 and 1989, we live in the 21st century now.

14 years agoDocument that dirname does conform to SUSv3.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:24:54 +0000 (11:24 +0000)]
Document that dirname does conform to SUSv3.

14 years agoDocument that we do not conform to SUSv3.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:22:36 +0000 (11:22 +0000)]
Document that we do not conform to SUSv3.

Noting:

basename blah/blah// does not trim the trailing slashes, which is required
by SUSv3.