mounting UFS2 filesystem with access mode via fstab

O. Hartmann ohartmann at walstatt.org
Sun Jan 21 19:00:47 UTC 2018


Am Sun, 21 Jan 2018 18:15:11 +0100
Gary Jennejohn <gljennjohn at gmail.com> schrieb:

> On Sun, 21 Jan 2018 11:37:16 +0100
> "O. Hartmann" <ohartmann at 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).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 313 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180121/5e3a8489/attachment.sig>


More information about the freebsd-current mailing list