Matt wrote:
> Hi!
>
> In my latest file system, I would like to be able to write files, but
> not create folders as that's not supported by the service I'm
> abstracting. Is this possible?
>
> Matt

Well, can't you just return -ENOTSUP or -EACCES from your int
mkdir(const char *, mode_t) function? That sounds like the obvious way
to do it.
Or what did you have in mind?

- Erik

-- 
VARNING!

E-post och ALL Internettrafik till och från Sverige, eller som passerar servrar 
i Sverige, avlyssnas av Försvarets Radioanstalt, FRA.

WARNING!

E-mail and ALL Internet Communications to and from Sweden, or via servers in 
Sweden, is monitored by the National Defence Radio Establishment.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to