Subject: Re: cp(1) vs. UVM/UBC
To: Jason R Thorpe <thorpej@zembu.com>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-userlevel
Date: 07/19/2001 22:29:50
On Wed, 18 Jul 2001, Jason R Thorpe wrote:

:  > would there be any point to looking at the output of fstatfs() after
:  > the open() to decide a code path?
:
: Let's not start special-casing various file systems in tools :-)

We could always have the file system itself fail the mmap in the interim, if
need be, until it is in fact fixed.  Not all filesystems necessarily *must*
support mmap; just return -1 and an errno, and let smart code fall back.  8-)

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi NetBSD:  Run with it.
-- NetBSD 1.5 now available on CD-ROM  --  http://www.wasabisystems.com/