freebsd-nq/sys
Greg Lehey c3dff4f036 Include Peter Wemm's renaming and restructuring
Remove #ifdefs for FreeBSD 2.c

Change from lkm to kld

correct type of `flags' in calls to set_drive_state.

set_drive_parms: handle anonymous drives correctly (remove them)

drive VOP functions: use the PID of the original opener to fool the
lock manager.

open_drive: be quiet about failures (they're normal when scanning the
partitions).

close_drive: lock drive before closing.

remove_drive: lock drive before deallocating.

read_drive_label: set drive up when all is OK

check_drive:
  Complete rewrite.  Offload most of the code to the new
  vinum_scandisk

format_config:
  use snprintf and %qd options to make much less emetic.
  Remove old supporting functions.

vinum_scandisk:
  Moved here from vinum.c
  Almost complete rewrite, incorporating much of what was check_drive.
  We still don't have a general way to find the drives on a system, so
  get the user to supply the names via the `read' command.  For each
  device, try each possible compatibility slice name (there's a danger
  of finding both /dev/da1h and /dev/da0s1h otherwise).  Sort the
  partitions found in reverse order of last update time and read them
  in, setting the `update' parameter to parse_config and descendents.

save_config: rename to daemon_save_config, since the function is now
called by the daemon.  Create a new function save_config which queues
the request with the daemon.

daemon_save_config:  some mods to allow for the unfamiliar
environment.
1999-01-21 00:35:35 +00:00
..
alpha Fix some mildly annoying compiler warnings about unused variables 1999-01-20 20:51:39 +00:00
amd64 Make more messages conditional on bootverbose 1999-01-20 04:24:22 +00:00
boot Transition from using Perl to using awk for our text-manipulation 1999-01-18 19:05:27 +00:00
cam put it back the way it was 1999-01-20 23:00:31 +00:00
coda Add 'options DEBUG_LOCKS', which stores extra information in struct 1999-01-20 14:49:12 +00:00
compat Fix linux sendmsg() emulation 1999-01-11 05:28:44 +00:00
compile
conf Add 'options DEBUG_LOCKS', which stores extra information in struct 1999-01-20 14:49:12 +00:00
contrib/softupdates Don't pass unused unused timestamp args to UFS_UPDATE() or waste 1999-01-07 16:14:19 +00:00
ddb Replace includes of <sys/kernel.h> with includes of 1999-01-14 06:22:10 +00:00
dev Include Peter Wemm's renaming and restructuring 1999-01-21 00:35:35 +00:00
fs Add 'options DEBUG_LOCKS', which stores extra information in struct 1999-01-20 14:49:12 +00:00
geom Update system to new device statistics code. 1998-09-15 08:15:30 +00:00
gnu Remove LKM support, src/lkm that built it is gone and it never worked as an 1999-01-17 20:28:12 +00:00
i4b Update the pccard hooks to use a module style declaration instead. 1999-01-19 00:21:53 +00:00
i386 Add 'options DEBUG_LOCKS', which stores extra information in struct 1999-01-20 14:49:12 +00:00
isa I guess this is now a legacy driver (for alpha only right now). 1999-01-20 18:27:31 +00:00
isofs/cd9660 Mountroot could concievably make sense to a KLD though, in the preload 1999-01-17 20:41:02 +00:00
kern Minor rearranging of code to allow simple protocol domains to be 1999-01-21 00:26:41 +00:00
libkern - Fix modulo bug. 1998-12-01 05:29:06 +00:00
miscfs Remove declarations for undefined functions and a couple of unused 1999-01-12 11:49:30 +00:00
modules Add source file vinumdaemon.c 1999-01-21 00:25:47 +00:00
msdosfs Now empty DOS filesystems default to long file names. Non-empty filesystems 1999-01-02 18:52:13 +00:00
net Undo #undef KERNEL hack for vnode.h to avoid vnode_if.h. 1999-01-17 20:53:48 +00:00
netatalk De-staticize and add prototype for main debug function. I'll turn 1999-01-12 12:09:27 +00:00
netatm Prevent duplicate output lines from 'atm show arpserver' command on systems 1999-01-19 23:16:11 +00:00
netinet Add a flag, passed to pru_send routines, PRUS_MORETOCOME. This 1999-01-20 17:32:01 +00:00
netipx Remove functions that are no longer in use. 1999-01-12 12:37:18 +00:00
netkey #ifdef out unused function key_freetables. 1999-01-12 12:38:31 +00:00
netnatm Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
netns
nfs Remove two cases of unused variable sp3. 1999-01-12 12:39:14 +00:00
nfsclient Remove two cases of unused variable sp3. 1999-01-12 12:39:14 +00:00
nfsserver Remove the 'waslocked' parameter to vfs_object_create(). 1999-01-05 18:50:03 +00:00
pc98 Remove 'alog'. 1999-01-20 08:31:56 +00:00
pccard Initial update pccard code for KLD module support. Module support 1999-01-19 00:18:28 +00:00
pci Fix problem with zero valued map registers followed by valid map entries. 1999-01-19 23:29:20 +00:00
posix4 Set PAGE_SIZE for _SC_PAGESIZE sysconf(). 1998-06-01 21:54:43 +00:00
powerpc Various changes to support OSF1 emulation: 1998-12-30 10:38:59 +00:00
rpc
sys Minor rearranging of code to allow simple protocol domains to be 1999-01-21 00:26:41 +00:00
tools Make the vnode opv vector construction fully dynamic. Previously we 1998-11-10 09:04:09 +00:00
ufs Silence warning about unused debug function. (I'll turn this function 1999-01-12 11:42:41 +00:00
vm KNFize, by bde. 1999-01-10 01:58:29 +00:00
Makefile Backed out previous commit. It depends on a.out utilities and libraries 1998-12-30 12:06:08 +00:00