Commit Graph

8347 Commits

Author SHA1 Message Date
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
christos 992367dcfc un-obsolete tetris. 2005-09-23 00:31:42 +00:00
salo 4db8c20f4c Mark tetris as obsolete. (hi christos!) 2005-09-22 17:25:01 +00:00
chs 1c08e0e246 avoid another divide-by-zero while computing geometry. 2005-09-22 15:41:14 +00:00
dyoung f6fb08f361 Add the manual page for geodewdog(4), the driver for the AMD Geode
SC1100's integrated watchdog timer.
2005-09-22 07:31:10 +00:00
joerg ecd31e06aa Add joerg@netbsd.org. 2005-09-21 14:25:09 +00:00
tsarna 4019a4212f pam_afslog is used in conjunction with pam_krb5 to obtain AFS tokens and
create a PAG if necessary.

Especially important for home directories on AFS.
2005-09-21 14:19:08 +00:00
simonb 5de1cebf91 Mark <sys/tprintf.h> as obsolete. 2005-09-19 03:16:40 +00:00
rpaulo 0c7a413532 /usr/share/examples/postfix/TLS_LICENSE should be installed even when
MKDOC=no. Noticed by Ralf Huvendiek <netbsd@kaervek.net> on current-users.
2005-09-17 19:33:00 +00:00
wiz c4b850a8a6 Add man page for l{,l}rint{,f}(3), very loosely based on the FreeBSD one.
Requested by martin@
Reviewed by drochner@
2005-09-16 15:26:47 +00:00
nonaka f4b01f6f22 Added rs5c372rtc, shpcic man pages. 2005-09-15 15:04:55 +00:00
elad 30cf53ba56 Fix copy/paste.
From Ralf Huvendiek, thanks!
2005-09-14 19:58:57 +00:00
elad 95a8b0810d Update entry for /usr/lib too.
From Hisashi T Fujinaka, thanks!
2005-09-14 18:14:51 +00:00
drochner a8675b3763 emulate getgrouplist() directly, no need to pull in
the wrapper from libc
2005-09-14 15:54:53 +00:00
he ea19769e49 pty.o in libutil.a wants to call getgrent_r(), so provide a cheesy
non-reentrant version here in order to avoid linker conflicts when
the rest of this file is attempted linked together with libc's
getgrent.o.

Reviewed by christos.
2005-09-14 15:31:18 +00:00
elad 8d6270e665 Introduce pw_policy(3), an easily extendable way of defining password
policies and enforcing them in programs.

Man-page written with much help and tips from David Maxwell, Hubert
Feyrer, and Thomas Klausner.

This bumps libutil minor to 7.

XXX: Need default policy to go in /etc/passwd.conf, and integration
     into local/yp/PAM password changing code.

PR/10206.
2005-09-14 11:36:52 +00:00
lukem 3b87ff7e46 Add a note explaining why we don't "obsolete" end-user configuration files.
Inspired by the fallout from the recent named.conf move.

XXX: consider fixing spamd.conf in a similar manner.
2005-09-14 00:38:39 +00:00
lukem 36476eed8b Don't mark /etc/namedb/named.conf as "obsolete" since that will cause
a file that has end-user configuration to be unconditionally removed.
Instead, remove the entry from the set list, and add a note to UPDATING
reminding users of MKUPDATE=yes to manually rectify the problem in
their DESTDIR.

The "named" fix in postinstall(8) will migrate /etc/namedb/named.conf
to /etc/named.conf if the latter doesn't exist.
(The need for these style of migrations was why I implemented postinstall(8)
in the first place.)
2005-09-14 00:32:26 +00:00
jdarrow 95cef3f6e6 Change default countdown time to 5 seconds to match i386 bootblock
defaults in sys/arch/i386/stand/lib/boot_params.S

Fixes PR install/30422 by me.
2005-09-13 23:43:22 +00:00
elad 1a75cd7fa5 - cksum -m -> cksum -a md5.
- Generate SHA512 checksums too.

Is there any reason to still generate MD5 checksums?
2005-09-13 16:38:01 +00:00
christos f9e066d346 Prettier /etc/fstab generation (from Liam Foy) 2005-09-12 15:47:09 +00:00
macallan dc24724129 man page for the adt7467c driver 2005-09-12 03:19:50 +00:00
dsl 0c7751d999 Don't display 'Yes' under 'Newfs' for swap 2005-09-11 20:38:26 +00:00
xtraeme 42d70a8cf2 Revert my previous commit, and put back the scan_lfs manpage... it
was removed, but now a link is created.
2005-09-11 17:39:12 +00:00
martin 5b3beb916c Reword "fullpart" message to make it shorter. Should fix PR install/31292. 2005-09-11 16:43:11 +00:00
dsl 747d6ff347 Float the menu box of menu_fullpart (all mbr disk) below the text message.
Stops the German text flowing into the box, should fix PR/31292
2005-09-11 16:42:39 +00:00
dsl 297a2f78a6 Fix a couple of md translations that seem to have got awry. 2005-09-11 08:39:08 +00:00
he 7f48103418 Provide translaqtion for set_kernel_3 via cut+paste from #2. 2005-09-11 08:03:05 +00:00
xtraeme 155bec8f6a Mask scan_lfs manpage as obsolete, now it has been removed. 2005-09-10 23:19:54 +00:00
he b80a4384df Provide a translation for set_kernel_6 as well (cut+paste from #5). 2005-09-10 22:03:22 +00:00
dsl e7fbd19237 Correct some messages which had the wrong number of format specifiers. 2005-09-10 21:51:12 +00:00
dsl 215bb0cb56 Count the number of '%' characters in every message and ensure the
translations have the same number as the english messages.
A quick nasty check that the messages uses as printf formats are sane.
2005-09-10 21:38:40 +00:00
he e3c135df31 Provide a translation for set_kernel_2, copied from set_kernel_1. 2005-09-10 20:00:02 +00:00
jmmv 5404fece05 Place mount_ptyfs.8 in man-sysutil-man (instead of man-miscfs-man) to
match mount_ptyfs.0, which is in man-sysutil-catman.
2005-09-10 19:26:18 +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
dsl 0437903aaf The 'padded by' number displayed for multi-floppy images has been out by 8k
per floppy for a while.  (The rest of the sums are ok).
Change the 'padded' size to include all the space in the last 8k block
of the tar file.
Similarly if the image doesn't fit, report the exact amount of overflow.
2005-09-10 18:05:51 +00:00
dsl 2a363c8fef Add the dmesg() program to all the i386 ramdisk images and remove the
shell function implemented dmesg using 'cat /kern/msgbuf'.
This means we don't need kernfs.
2005-09-10 14:50:08 +00:00
dsl 77b0988bd6 Generate a cross-reference map file for the crunched binary. 2005-09-10 14:47:15 +00:00
dsl f72d3abd91 For some reason this makefile descends into all the x_<prog> directories.
Since all the x_<prog> get build into crunched binaries (which does a
reachover build these days) I suspect this is entirely unnecessary.
But having deleted x_dmesg we must ensure it doesn't go there.
2005-09-10 13:24:38 +00:00
dsl b15df8278a Nothing tries to build x_dmesg (aka dmesg with -DSMALL) any more. 2005-09-10 13:10:23 +00:00
dsl f9535a65ed Delete the:
SPECIAL        dmesg           srcdir  distrib/utils/x_dmesg
line from all the ramdisk 'list' files.  dmesg/Makefile will add -DSMALL
if SMALLPROG is defined (which it is by Makefile.crunch).
2005-09-10 13:09:01 +00:00
jmmv e4f5206ced Add xge.{0,4}. Hi, ragge@! 2005-09-10 10:35:25 +00:00
dsl d1c526b434 Change the message above the selection menu for root's shell to show
the correct default (ie what happens if you type enter) of /bin/sh.
Fixes PR install/32159
2005-09-09 23:20:33 +00:00
dsl 7dfd3d6a2d Add a SMALL dmesg, should allow KERNFS to be removed 2005-09-05 20:58:35 +00:00
dsl c7c436e94e Fix breakage from yesterday!
Don't pass crunchgen the name of its own binary as an extra argument.
(make must have silently done this when the extra argument was .PHONY)
2005-09-05 20:14:08 +00:00
kiyohara 17587c6104 Support LCD screen driver for PERSONA SH3 machines. 2005-09-05 18:54:10 +00:00
dsl 0132bc8a19 Report the exact number of free bytes in the install floppy images. 2005-09-04 19:29:31 +00:00
dsl 3047ebb391 Make ${CRUNCHBIN}.mk depend on ${TOOL_CRUNCHGEN:[-1]} instead of .PHONY.
Recreating the makefile when the crunchgen program has changed is probably
adequate, and it allows a lot of later optimisations to still apply.
In particular:
- the final link for ramdiskbin
- the create of the embedded filesystem
- the inclusion of the ramdisk into the kernel
- compressing the kernel
Unless something else actually requires one of the above.
2005-09-04 19:00:40 +00:00
kiyohara f6c9a2641f Set variable MAKEDEVTARGETS. 2005-09-04 16:34:45 +00:00