NetBSD-Users archive

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

Re: Opening /tmp

On 11/20/11 9:37 AM, Dmitry Matveev wrote:
> Hello,
> 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?

Julio Merino / @jmmv

Home | Main Index | Thread Index | Old Index