[prev in list] [next in list] [prev in thread] [next in thread]
List: fuse-devel
Subject: Re: [fuse-devel] No such file or directory for SETATTR before OPEN
From: Miklos Szeredi <miklos () szeredi ! hu>
Date: 2008-06-27 11:55:32
Message-ID: E1KCCY8-0007rv-PD () pomaz-ex ! szeredi ! hu
[Download RAW message or body]
> Another solution can be an /dev/null simulation in my code. May be it is a
> better solution, than mounting my filesystem with dev option. I am trying to
> write a file handler, which will not write data to this file, when /dev/null
> path is detected. But it does not work, I get always this error:
>
> LOOKUP /salstar.sk/www.salstar.sk/dev/null
> NODEID: 5
> unique: 10, error: 0 (Success), outsize: 136
> unique: 11, opcode: SETATTR (4), nodeid: 5, insize: 128
> unique: 11, error: -2 (No such file or directory), outsize: 16
>
> Why this -2 error is returned? What is this magic SETATTR?
SETATTR is a collective operation encompassing:
- truncate
- chmod
- chown
- utimes
In this case it's probably a truncate request.
Miklos
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic