Subject: Re: cp(1) vs. UVM/UBC
To: Jason R Thorpe <thorpej@zembu.com>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-userlevel
Date: 07/20/2001 22:48:38
On Thu, Jul 19, 2001 at 07:37:29AM -0700, Jason R Thorpe wrote:
> On Thu, Jul 19, 2001 at 10:40:53AM +0200, Ignatios Souvatzis wrote:
> 
>  > There are other file systems with potential problems, if I recall right...
>  > e.g., the DOS\0 and DOS\1 variants of adosfs, which always have some 
>  > metadata in their datablocks, so for this case, data copying always
>  > happens. (Chuck?)
> 
> Your VOP_GETPAGE/VOP_PUTPAGES simply needs to handle this.

Update:

a mmaped cp reads the metadata together with the data from a DOS\0 adosfs.
DOS\3 adosfs is fine. (DOS\1 will behave like DOS\0, DOS\2 like DOS\3, but
I dont have test case ready).

*sigh*

	-is