On Mon, Apr 14, 2014 at 06:36:44AM +0200, laurence.tintzmann wrote:
> Hi.
>
> I have the following problem: I would like to mount a memory fs for /tmp, so
> I specifiy this in the fstab:
>
> swap /tmp mfs rw,nodev,nosuid,-s=153600 0 0
>
> This is like the examples from the fstab-man pages. So, my mount point is
> this:
>
> drwxrwxrwt 2 root wheel 512B Apr 14 08:19 tmp
>
> but after mounting it looks like this:
>
> drwxr-xr-t 2 root wheel 512B Apr 14 08:20 tmp.
>
> As from the man-pages of mount_mfs: "If the -P file option is not used, the
> owner and mode of the created mfs file system will be the same as the owner
> and mode of the mount point."
>
> If I do this with another directory, everything works fine. So where is the
> problem?
>
> I am using OpenBSD/amd64 5.4 generic.
>
> Best regards
Do you have two filesystems mounted on /tmp?
Show the output of # mount
-Otto