Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] fstab cleanup
Date: Wed, 21 May 2014 20:15:32
Message-Id: 201405212115.12552.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] fstab cleanup by Tom H
1 On Wednesday 21 May 2014 20:44:04 Tom H wrote:
2 > On Wed, May 21, 2014 at 1:53 PM, Stefan G. Weichinger <lists@×××××.at>
3 wrote:
4 > > Am 21.05.2014 15:31, schrieb Tom H:
5 > >> On Wed, May 21, 2014 at 6:32 AM, Stefan G. Weichinger <lists@×××××.at>
6 wrote:
7 > >>> Do I still need these lines .. especially with a modern
8 > >>> systemd/gnome3-environment?
9 > >>>
10 > >>> # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
11 > >>> # POSIX shared memory (shm_open, shm_unlink).
12 > >>> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
13 > >>> # use almost no memory if not populated with files)
14 > >>> tmpfs /dev/shm tmpfs
15 > >>> nodev,nosuid,noexec 0 0
16 > >>>
17 > >>>
18 > >>> /dev/cdrw /media/cdrecorder auto
19 > >>> user,exec,noauto,managed 0 0
20 > >>
21 > >> From "src/core/mount-setup.c":
22 > >>
23 > >> { "tmpfs", "/dev/shm", "tmpfs",
24 > >> "mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME, NULL,
25 > >> MNT_FATAL|MNT_IN_CONTAINER },
26 > >
27 > > So the answer is "no" ?
28 >
29 > The answer is "no" unless you want to apply different perms to "/dev/shm".
30
31 I went through a new installation recently and seem to recall that the fstab
32 was rather empty from its usual entries. Will older installations eventually
33 get an enotice to this effect with baselayout updates?
34
35 --
36 Regards,
37 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature