From: Nikolaus R. <Nik...@ra...> - 2008-07-17 11:38:09
|
Hello, ,---- | On Wed, 2008-07-16 at 20:33 +0200, Nikolaus Rath wrote: | > What happens if you don't define a create function at all, and let | > fuse call mknod and open instead? | > | | Now everything works as expected... I simply pasted the code from my | create() function (and added some code to close the file right after | creating it, since open() is called next), and fuse is happy and reports | no errors. So what happens if you define a create function that *only* calls mknod() and open()? | | Is this the "right" way to do things, or should I still try to implement | create()? is there a down side to using mknod+open instead? That's an alternative way to do things, but using create() should work just as well. Best, -Nikolaus -- »It is not worth an intelligent man's time to be in the majority. By definition, there are already enough people to do that.« -J.H. Hardy PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C |