Subject: Re: kern/6652: swapping to a sparse file fails unpredictably.
To: None <marc@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-bugs
Date: 01/04/1999 17:11:51
On Sat, 26 Dec 1998 00:23:33 -0500 (EST) 
 marc@netbsd.org wrote:

 > >How-To-Repeat:
 > 
 > 	create a sparse file
 > 	swapctl -a /sparsefile
 > 	do something which tries to page into the sparse file

I would say that any attempt to swapon to a sparse file should fail
with EINVAL.  Same goes for the vnd code.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942