thorpej
3bd11220b6
Don't print a message if the user attempts SWAP_OFF. Return an error
...
instead.
1997-06-17 03:37:07 +00:00
thorpej
c61704d37c
Remove the code that sets dumpdev, for two reasons:
...
- It was incorrect. A dev_t should _never_ be compared against
NULL, as 0 is a valid value (major 0, minor 0).
- The operator mave have _intentionally_ set dumpdev to "none"
(i.e. NODEV), and setting it the first time a VBLK swap device
is added would break the semantics.
setroot() deals with all dump device selection. Dumps and swap are now
in no way related.
1997-06-16 20:21:55 +00:00
mrg
c78d0720ff
- set dumpdev if not already set
...
- don't use nocoalease (from thorpej).
- fix priority list management (from pk).
- update comment for swapoff.
- free swap device extent name safely (from thorpej).
1997-06-16 13:35:17 +00:00
pk
e5b0a8820b
As long as we actually use `swapdev_vp', initialize it.
1997-06-13 15:37:17 +00:00
mrg
21cc3ddfd5
bring mrg-vm-swap2 onto mainilne.
1997-06-12 14:51:20 +00:00
thorpej
e73580920d
Change to not require including <sys/dmap.h>
1997-04-17 00:12:50 +00:00
thorpej
b7a5b84750
Treat the nswdev == 0 case like the nswap == 0 case; don't panic, just
...
report no swap space. Suggested by Leo Weppleman <leo@netbsd.org>.
1997-01-22 07:28:21 +00:00
perry
9ab047883b
Fix unused variable -Wxxx failure when MINIROOTSIZE defined.
1996-10-21 01:32:38 +00:00
christos
3dc7953eec
back out previous kprintf changes
1996-10-12 21:50:05 +00:00
christos
de1b2b437e
printf -> kprintf, sprintf -> ksprintf
1996-10-10 17:16:17 +00:00
christos
bcabcefdcd
VM prototype changes
1996-02-05 01:53:47 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
thorpej
7160dfc805
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 21:57:36 +00:00
gwr
5520ccdbf9
Preserve miniroot when (swdevt[i].sw_vp == rootvp)
1995-09-18 21:21:00 +00:00
cgd
4ec7eec85b
don't forget the 'dev' argument to physio(). pointed out by der Mouse
...
and others.
1995-07-19 13:04:02 +00:00
mycroft
7263209ce6
Make each disk and tape driver define its own read and write functions.
...
Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
cgd
4b5b562e89
turn spaces to tabs
1995-01-09 02:47:38 +00:00
cgd
6b86130410
update for new syscall args description mechanism
1994-10-20 04:22:35 +00:00
mycroft
fe18d806d2
Don't panic if primary swap device is not configured.
1994-07-21 07:12:13 +00:00
cgd
fccfa11af5
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:39:25 +00:00
cgd
9608c5b657
clean up slightly; change RCS ID's to be minimally intrusive
1994-06-27 04:55:46 +00:00
pk
bccc2c3c1b
straighten out diskless swap code somewhat.
1994-06-22 14:01:45 +00:00
mycroft
264b874c14
Update to 4.4-Lite fs code, with local changes.
1994-06-08 11:41:58 +00:00
cgd
3495827959
new VM code, from 4.4-Lite
1994-05-23 03:11:20 +00:00
cgd
95fcf16b66
add sequential swap device support, supplied by hibler many moons ago.
...
(Note that it needs config support, too, which isn't there yet, but
might be soon...) Also, general cleanup. use NODEV to terminate swdevt,
so that sparc port (and future) is happy.
1994-04-25 23:53:51 +00:00
cgd
3dda0064a5
Convert mount, vnode, and buf structs to use <sys/queue.h>. Also,
...
some knf and structure frobbing to do along with it.
1994-04-21 07:47:31 +00:00
mycroft
a8f3db1d79
Use b_actf, not av_forw.
1994-02-06 10:13:02 +00:00
mycroft
bbe22a5947
Add some explicit return types.
1994-01-07 22:34:37 +00:00
cgd
c26286a5c1
bring changes down from magnum
1993-12-20 12:39:55 +00:00
mycroft
b4d3382694
Canonicalize all #includes.
1993-12-17 07:56:32 +00:00
cgd
76dbc1192b
new specfs.h and fifo.h locations
1993-11-12 05:54:12 +00:00
cgd
405b084fe6
return some errors other than EIO from swstrategy()
1993-08-29 01:50:20 +00:00
mycroft
4862b84c92
Add RCS identifiers (this time on the correct side of the branch), and
...
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
mycroft
ad087b06a0
Finish moving struct definitions outside of function declarations.
1993-07-17 15:56:59 +00:00
cgd
09844fbcfe
make the rlist code all go away. replace it with resource map code,
...
as written by Wolfgang Solfrank.
1993-07-07 06:04:12 +00:00
andrew
51ac6a0997
ANSIfications.
1993-06-27 06:27:29 +00:00
brezak
800afb6fec
Remove annonying printf when adding swap.
1993-06-17 16:34:25 +00:00
cgd
cc5e8e00d5
add rcs ids and clean up headers
1993-05-20 03:59:08 +00:00
mycroft
0b48d59355
Fix utter inanity I committed last night.
1993-04-29 00:46:21 +00:00
mycroft
a203e5704b
Implement previous change more cleanly.
1993-04-28 04:00:49 +00:00
mycroft
95090f0a13
Don't use first block of swap area.
1993-04-28 03:04:25 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00