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.
Sascha Wildner [Fri, 5 Aug 2005 14:56:59 +0000 (14:56 +0000)]
Fix man page cross references.
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.
Sascha Wildner [Fri, 5 Aug 2005 09:47:55 +0000 (09:47 +0000)]
Fix cross reference: makewhatis(1) -> makewhatis(8).
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.
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
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.
Sascha Wildner [Thu, 4 Aug 2005 21:06:32 +0000 (21:06 +0000)]
Remove crossrefs to non-existant usb(3) man page.
Sascha Wildner [Thu, 4 Aug 2005 20:45:57 +0000 (20:45 +0000)]
Fix man page cross reference.
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
David Rhodus [Thu, 4 Aug 2005 17:31:23 +0000 (17:31 +0000)]
Remove some register keywords and add in some missing $DragonFly$ tags.
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.
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.
Joerg Sonnenberger [Thu, 4 Aug 2005 16:44:12 +0000 (16:44 +0000)]
Remove unused include of sys/dirent.h.
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
David Rhodus [Thu, 4 Aug 2005 15:38:58 +0000 (15:38 +0000)]
Make print statements more verbose.
David Rhodus [Thu, 4 Aug 2005 15:37:20 +0000 (15:37 +0000)]
Remove scheduler define which was never used.
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>
Max Okumoto [Thu, 4 Aug 2005 00:21:50 +0000 (00:21 +0000)]
Bring in better comments for hash.h 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
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.
Max Okumoto [Wed, 3 Aug 2005 23:20:35 +0000 (23:20 +0000)]
Cast ctype.h function paramters to (unsigned char).
Max Okumoto [Wed, 3 Aug 2005 22:00:16 +0000 (22:00 +0000)]
Remove casting of NULL
Max Okumoto [Wed, 3 Aug 2005 21:43:08 +0000 (21:43 +0000)]
Bring in better comments for hash.c from NetBSD.
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
Max Okumoto [Wed, 3 Aug 2005 18:34:39 +0000 (18:34 +0000)]
Make debug definition match forward declaration.
Max Okumoto [Wed, 3 Aug 2005 18:29:02 +0000 (18:29 +0000)]
Make prototype match up with function definition.
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.
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.
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.
Simon Schubert [Wed, 3 Aug 2005 16:07:39 +0000 (16:07 +0000)]
Don't reference nanosleep at all, but describe the behaviour.
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.
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
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.
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.
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.
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>
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.
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>
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.
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.
Joerg Sonnenberger [Tue, 2 Aug 2005 21:15:12 +0000 (21:15 +0000)]
Clean up search directories to what we really use.
Joerg Sonnenberger [Tue, 2 Aug 2005 21:13:37 +0000 (21:13 +0000)]
Catch up with reality, this is GCC 3.4.4.
Sascha Wildner [Tue, 2 Aug 2005 20:48:02 +0000 (20:48 +0000)]
Fix wrong section in manpage reference.
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.
Hiten Pandya [Tue, 2 Aug 2005 17:11:04 +0000 (17:11 +0000)]
Update filename in comments.
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.
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.
Joerg Sonnenberger [Tue, 2 Aug 2005 16:26:30 +0000 (16:26 +0000)]
Readd fix for FreeBSD PR/30631.
No-cookie-for: David Rhodus
Joerg Sonnenberger [Tue, 2 Aug 2005 13:19:30 +0000 (13:19 +0000)]
Regen.
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
Joerg Sonnenberger [Tue, 2 Aug 2005 13:07:50 +0000 (13:07 +0000)]
Require 1.3.4 before installworld.
Joerg Sonnenberger [Tue, 2 Aug 2005 13:06:36 +0000 (13:06 +0000)]
Bump version to 1.3.4 for stat changes.
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.
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
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
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
Simon Schubert [Mon, 1 Aug 2005 22:03:15 +0000 (22:03 +0000)]
Add dependencies on files being distributed. This unbreaks nrelease.
Joerg Sonnenberger [Mon, 1 Aug 2005 20:59:46 +0000 (20:59 +0000)]
libutil.h hsa to go after pwd.h.
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.
Hiten Pandya [Mon, 1 Aug 2005 20:05:53 +0000 (20:05 +0000)]
Update description of msfbufs sysctls.
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.
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.
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.
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.
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.
Sascha Wildner [Mon, 1 Aug 2005 00:35:08 +0000 (00:35 +0000)]
Convert to mdoc.
Sascha Wildner [Mon, 1 Aug 2005 00:21:07 +0000 (00:21 +0000)]
Convert to mdoc.
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.
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)
Sascha Wildner [Sun, 31 Jul 2005 21:38:32 +0000 (21:38 +0000)]
Convert to mdoc.
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>
Sascha Wildner [Sun, 31 Jul 2005 12:35:50 +0000 (12:35 +0000)]
Add DragonFly 1.3.2.
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.
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.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 12:08:12 +0000 (12:08 +0000)]
Add -f to the non-standard list.
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.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:53:46 +0000 (11:53 +0000)]
Document SUSv3 conformity.
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.
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.
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.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:24:54 +0000 (11:24 +0000)]
Document that dirname does 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.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:18:09 +0000 (11:18 +0000)]
Document the fact we do not conform to 1003.1-2004/SUSv3.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 11:07:32 +0000 (11:07 +0000)]
Add SUSv3 information.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 10:21:43 +0000 (10:21 +0000)]
Actually add a copyright name.
Noticed by: Svan
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 09:27:22 +0000 (09:27 +0000)]
Add EXAMPLES.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 09:23:47 +0000 (09:23 +0000)]
Add DIAGNOSTICS.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 09:13:48 +0000 (09:13 +0000)]
Add manual page.
Jeroen Ruigrok/asmodai [Sun, 31 Jul 2005 08:31:52 +0000 (08:31 +0000)]
Add sshd example, might be useful for jails.
Submitted by: Tomaz Borstnar
Hiten Pandya [Sun, 31 Jul 2005 01:51:43 +0000 (01:51 +0000)]
Update the physio(9) manual page to reflect reality. Clean up the
mdoc while I am around.
Hiten Pandya [Sun, 31 Jul 2005 01:50:38 +0000 (01:50 +0000)]
Forced commit to ensure revision 1.18 fixed a build break introduced
by me.
Submitted-by: Peter Avalos <pavalos@theshell.com>
Hiten Pandya [Sun, 31 Jul 2005 01:27:50 +0000 (01:27 +0000)]
*** empty log message ***
Joerg Sonnenberger [Sat, 30 Jul 2005 21:52:28 +0000 (21:52 +0000)]
Fix macro name in comment.
Joerg Sonnenberger [Sat, 30 Jul 2005 20:31:01 +0000 (20:31 +0000)]
Regen.
Joerg Sonnenberger [Sat, 30 Jul 2005 20:29:40 +0000 (20:29 +0000)]
Move ostat definition from sys/stat.h into emulation43bsd/stat.h.
Sascha Wildner [Sat, 30 Jul 2005 20:15:48 +0000 (20:15 +0000)]
Fix manpage links.
Joerg Sonnenberger [Sat, 30 Jul 2005 18:52:35 +0000 (18:52 +0000)]
GC unused variable.
Joerg Sonnenberger [Sat, 30 Jul 2005 18:15:18 +0000 (18:15 +0000)]
Since we have a table for each device anyway, we can also use it to
describe the default RID to use.
Suggestion-from: me
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Joerg Sonnenberger [Sat, 30 Jul 2005 17:10:24 +0000 (17:10 +0000)]
Partially backout last commit. /usr/lib is added by GCC anyway and the
libc build is not ready yet for automatic -lc.