9fans archive / 2001 / 03 / 281 /    prev next

From: Alexander Viro <viro@mat...>
Subject: Re: [9fans] 9fs/9auth for FreeBSD 
Date: Wed, 28 Mar 2001 17:23:47 -0500 (EST)



On Wed, 28 Mar 2001, Lyndon Nerenberg wrote:

> >>>>> "Russ" == Russ Cox <rsc@pla...> writes:
> 
>     Russ> No, it's needed.  The behavior on FreeBSD really is what I
>     Russ> said -- if you do a write with a file offset that is not the
>     Russ> end of the file, the write fails.
> 
> This is almost certainly a bug. I'll verify what POSIX has to say
> about this and get a bug report filed. What (exact) version of FreeBSD
> did you observe this behaviour on?

See ufs/ufs/ufs_readwrite.c and grep for APPEND. It's present in -STABLE.