Commit Graph

1025 Commits

Author SHA1 Message Date
wiz
28b104b3ee Reword a sentence slightly, and add more markup. 2005-10-31 12:05:21 +00:00
uwe
f3cbdab068 Minus sign is \-
Mark up function argument in the text.
2005-10-31 11:55:04 +00:00
wiz
3a6af42b59 Bump date for previous. 2005-10-31 11:34:55 +00:00
erh
4535d519d7 Mention that VOP_CREATE always unlocks the directory vnode. 2005-10-30 20:49:05 +00:00
wrstuden
d68d1b14ad Tweak non-device-file discussion of blkno units. 2005-10-27 16:08:48 +00:00
wrstuden
6eb892ae53 Adjust discussion of blkno's units to describe the units for
blkno for non-special files. Per comments from yamt at.
2005-10-27 00:05:03 +00:00
wiz
acaf0263d7 Fix a typo. 2005-10-25 02:25:32 +00:00
tsutsui
d8ae27cfff - Clarify the definitions of wsmouse_input(9) arguments as request
from Steave Rumble on port-sgimips. (maybe needs wizd(8))
- Add Xref pms(4), wsmouse(4), wscons(9).
- Bump date.
2005-10-19 16:11:55 +00:00
wiz
a3da67ef18 Add comma in enumeration. 2005-10-16 19:26:05 +00:00
wiz
d9955f7766 English improvements. 2005-10-16 19:25:31 +00:00
yamt
d6f623e617 it's ok for BUFQ_PUT to change the next buffer after BUFQ_PEEK. 2005-10-16 04:11:02 +00:00
yamt
e060d87164 sync with the new api. 2005-10-16 04:06:20 +00:00
xtraeme
16efb249a7 * bufq functions are defined in bufq.h not buf.h.
* Add missing bufq_drain() function.

Bump DATE.
2005-10-10 15:28:42 +00:00
wiz
13132461ea Use full month names in Dd. 2005-10-03 16:52:17 +00:00
bouyer
c42416ada1 Xref pool_cache(9) and bump date. 2005-10-02 15:17:32 +00:00
kleink
8ab59cd76b Remove MLINKS leftover from previous. 2005-10-02 14:57:13 +00:00
yamt
ac3e57ebff we don't have the global runtime anymore. 2005-10-01 04:09:06 +00:00
rpaulo
4e47c694c9 Sync prototypes with reality. 2005-09-26 01:04:34 +00:00
jmmv
50f3dc6f20 Fix two typos in ubc_alloc. 2005-09-25 09:01:21 +00:00
wiz
6021522859 Add missing comma. Mark up NULL with Dv. 2005-09-23 20:30:48 +00:00
wiz
50da23b12f Fix Dt abuse. 2005-09-23 20:29:08 +00:00
jmmv
b0085cab71 Kill the tmpfs(9) manual page; it was just documenting internal details of
tmpfs' "API" and was already rotting.

Instead, merge all the relevant comments into the code.  This includes
acknowledgements to Google's Summer of Code 2005 program (they were in the
AUTHORS section of tmpfs(9) before), so all the files need to be changed
to include this sentence alongside the title.  (Note that this was not a
requirement of the program.)
2005-09-23 15:36:15 +00:00
jmmv
2a3e5eeb7c Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 12:10:31 +00:00
wiz
382e4da58a Drop trailing whitespace. 2005-09-10 22:45:45 +00:00
wiz
d44e7a1778 Use Xr to avoid Nm abuse. 2005-09-10 22:30:33 +00:00
wiz
f28fe3eca1 Use more markup. Drop trailing whitespace. 2005-09-10 22:24:42 +00:00
wiz
4c0f3d6384 Bump date for previous. 2005-09-10 22:21:41 +00:00
jmmv
9b0d5af66f Fix some mistakes spotted by wiz@. 2005-09-10 21:59:39 +00:00
wiz
87274aa423 Punctuation fixes. Add another XXX. 2005-09-10 21:48:21 +00:00
wiz
d6a46ac226 Various fixes:
file-system -> file system
make (most) lines shorter than 80 chars
use more appropriate macros
fix a few typos
add two XXX for wrong sentences I'm not sure how to fix properly
2005-09-10 21:42:32 +00:00
jmmv
ec93365612 Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).
2005-09-10 19:20:48 +00:00
wiz
efd6948ad1 Whitespace nits. 2005-09-10 12:51:13 +00:00
wiz
10a241c2eb Uppercase CPU. Remove a superfluous double quote. Use Dv for defined
values.
2005-09-09 20:33:54 +00:00
wiz
b6b6657a5a Uppercase I/O. 2005-09-09 20:29:12 +00:00
wrstuden
1fa8554ba6 Note the fact that buffer cache takes block numbers in
units of DEV_BSIZE, even if the device's device size is
larger. Update date.

Reviewed by wiz. :-)
2005-09-08 22:51:36 +00:00
kleink
54281f5ccd Typo. 2005-09-06 20:12:43 +00:00
rillig
3177b76827 Fixed white-space. 2005-09-02 22:06:53 +00:00
jmmv
c35190a672 Sync the description of the getattr, link and rmdir operations with reality
as regards vnode locking.  Thanks to wrstuden@ for clarifying this.
2005-08-30 21:03:13 +00:00
reinoud
f4a3f04cb2 Create functions ioctl_copyin() and ioctl_copyout(). They are meant to be
used in ioctl routines to do the right thing when the FKIOCTL flag is
passed to the IOCTL routine indicating its a in-kernel VOP_IOCTL call and
indirect addresses provided in the arguments are to be seen as kernel
adresses rather than userland adresses.

A simple substitution and prepending of the `flags' passed on to the ioctl
handler is enough to DTRT.
2005-08-28 20:58:14 +00:00
briggs
60c87a4d4c Mention that a kthread *must* call kthread_exit() to terminate itself
properly.  If you don't, the kernel will likely crash.
2005-08-27 01:32:59 +00:00
yamt
653095ecab document M_MOVE_PKTHDR. 2005-08-23 09:34:11 +00:00
jmmv
8f66d74dea Specify the types for the cookies and ncookies parameters to the readdir
operation.
2005-08-19 10:56:29 +00:00
yamt
54313d8a0e remove disk_init. 2005-08-14 12:02:02 +00:00
yamt
e776c85955 remove disk_init which we don't have anymore. 2005-08-14 12:01:26 +00:00
jmmv
589ba12e9c uvm_unmap returns void, not int.
Also drop some spaces before commas, as they ought not to be there.
2005-08-13 09:49:58 +00:00
yamt
2edce77c87 document pmap_procwr. 2005-08-11 11:20:48 +00:00
pooka
9157daca51 apply cosmetics to VOP_MK/RMDIR prototypes 2005-08-11 10:49:47 +00:00
pooka
f219942c2b match section on read/write ioflags with current reality
(bump date!)
2005-08-11 10:06:38 +00:00
jmmv
1dae1602d4 vgonel takes two parameters, not one. 2005-08-05 13:37:25 +00:00
jmmv
dc8a3e3a58 Sync tag-types list with reality (missing VT_PTYFS) and fix some typos.
Bump date.
2005-08-05 13:28:50 +00:00