Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2018 20:00:09 +0100
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        Gary Jennejohn <gljennjohn@gmail.com>
Cc:        "O. Hartmann" <ohartmann@walstatt.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>, "N.J. Mann" <njm@njm.me.uk>
Subject:   Re: mounting UFS2 filesystem with access mode via fstab
Message-ID:  <20180121200036.4982e096@thor.intern.walstatt.dynvpn.de>
In-Reply-To: <20180121181511.0e1c02d4@ernst.home>
References:  <20180121113743.1e6bf774@thor.intern.walstatt.dynvpn.de> <20180121181511.0e1c02d4@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Am Sun, 21 Jan 2018 18:15:11 +0100
Gary Jennejohn <gljennjohn@gmail.com> schrieb:

> On Sun, 21 Jan 2018 11:37:16 +0100
> "O. Hartmann" <ohartmann@walstatt.org> wrote:
> 
> > Recently, I ran into the problem mounting a newly created /tmp, when I switched back
> > from a tmpfs-backed /tmp to a UFS2/SSD/HDD backed /tmp. 
> > 
> > The convenience to set mode=01777 for the memory/tmpfs backed /tmp seems not to exist
> > for UFS2 backed filesystems, since manpage mount(8) doesn't give me any option
> > provided via -o which could accomplish what I can achieve with mode=, see man
> > tmpfs(5).
> > 
> > Well, I guess I do miss something here or is this achievement reached on a different
> > path I'm unaware of?
> >   
> 
> chmod 1777 /tmp as root
> 

Well,
that is the way we do it usually. But is there now way to perform the settings via fstab
entry? Look at man  tmpfs, man mount_msdosfs, for instance, they provide options which
can be put into the option column of fstab.

-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWmTjVAAKCRDS528fyFhY
lGREAf9zFI0xx/zJjjb0qXoH4GIbqPSqjfD75aUbDlPqViFzK7osYlUT34QPkgQ7
2V8arBzJBUWd3Xd1BL2XOccHErwMAf0bFYLB+sCwg1EQqnEYnFbmB1NiDsXt7Qjk
rvn3iAtQ7/MYr+HKuKz1tzyFFPJl4no5ZrZbKYomqd1fMPG1qYCs
=vty0
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180121200036.4982e096>