Re: Weirdness when writing to pseudofs file

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Wed, 22 May 2019 20:51:33 +0300
On Wed, May 22, 2019 at 10:36:34AM -0700, Johannes Lundberg wrote:
> Hi
> 
> I'm fiddling with lindebugfs, which is based on pseudofs. When writing
> to a file,
> 
> this works: # echo  1 >> /path/to/file
> 
> but this does not: # echo 1 > /path/to/file
> 
> "Operation not supported." is returned before the pseudofs code is even
> entered.
> 
> Is this expected behavior? (if so, why?)

Does the file exist ?

Pseudofs does not implement VOP_CREATE(), which is reasonable.
Received on Wed May 22 2019 - 15:51:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC