Weirdness when writing to pseudofs file

Konstantin Belousov kostikbel at gmail.com
Wed May 22 17:51:45 UTC 2019


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.


More information about the freebsd-current mailing list