Subject: Re: cp(1) vs. UVM/UBC
To: Christos Zoulas <christos@zoulas.com>
From: Jaromír <jdolecek@netbsd.org>
List: tech-userlevel
Date: 07/19/2001 16:15:55
Christos Zoulas wrote:
> I think that mmap should be fixed so that it returns EOPNOTSUPP on filesystems
> where it does not work, or will never work. Having it return an address and
> then segfaulting when you dereference it, it suboptimal.

Yeah, I think this is the right solution too. We can start to use
the VOP_MMAP() operation for this - it's currently unsed AFAICS.

Jaromir 
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>      http://www.ics.muni.cz/~dolecek/
NetBSD - just plain best OS! -=*=- Got spare MCA cards or docs? Hand me them!