Re: FreeBSD FUSE calls truncate() on read-only files

From: Julian Elischer <julian_at_freebsd.org>
Date: Thu, 26 Feb 2015 23:12:29 -0800
On 2/25/15 5:34 AM, Eggert, Lars wrote:
> Hi,
>
> this came up when trying to port tup (https://github.com/gittup/tup) to FreeBSD.
>
> Even though we are opening the file read-only with cat, FUSE calls truncate() on it, which modifies its mtime and this screws up tup. See https://github.com/gittup/tup/issues/198
>
> Anyone know why FreeBSD's FUSE is doing this?

nope but it has lots of other bugs..
for example it caches information when it shouldn't, even from 
'dynamic' file systems
We had to change the code to disable  it as our data is synthetic and 
might change between reads.
fstat info is also cached and confused our apps mightily.


>
> Thanks,
> Lars
Received on Fri Feb 27 2015 - 06:41:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:55 UTC