NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Opening /tmp

I assume that /tmp is a mount point for tmpfs (I hadn't configured it by hand, it is the system's default).

OOps, I have been confused with ktrace logs and /tmp actually opens fine, but /tmp/dbus-axFenFQd4d does not (and returns this error).

So there is no issue, sorry.


On Sun, 20 Nov 2011 09:42:19 -0500, Julio Merino wrote:
On 11/20/11 9:37 AM, Dmitry Matveev wrote:

When I am calling

  open("/tmp", O_RDONLY);

I am getting error EOPNOTSUPP ("Operation not supported"). Opening any file or directory with the same flags inside /tmp works fine. Opening
any directory from / also works fine.
I have tried to ktruss some utils to find how they open /tmp, but it
haven't helped.

Which flag should I pass to open(2) to make it work with /tmp?

Is /tmp a mount point?  tmpfs?

Home | Main Index | Thread Index | Old Index