* [gentoo-user] fstab cleanup
@ 2014-05-21 10:32 Stefan G. Weichinger
2014-05-21 13:31 ` Tom H
2014-05-26 4:47 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 2 replies; 8+ messages in thread
From: Stefan G. Weichinger @ 2014-05-21 10:32 UTC (permalink / raw
To: gentoo-user
Do I still need these lines .. especially with a modern
systemd/gnome3-environment?
->
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
tmpfs /dev/shm tmpfs
nodev,nosuid,noexec 0 0
/dev/cdrw /media/cdrecorder auto
user,exec,noauto,managed 0 0
?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] fstab cleanup
2014-05-21 10:32 [gentoo-user] fstab cleanup Stefan G. Weichinger
@ 2014-05-21 13:31 ` Tom H
2014-05-21 17:53 ` Stefan G. Weichinger
2014-05-26 4:47 ` [gentoo-user] " Nikos Chantziaras
1 sibling, 1 reply; 8+ messages in thread
From: Tom H @ 2014-05-21 13:31 UTC (permalink / raw
To: Gentoo User
On Wed, May 21, 2014 at 6:32 AM, Stefan G. Weichinger <lists@xunil.at> wrote:
>
> Do I still need these lines .. especially with a modern
> systemd/gnome3-environment?
>
> # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
> # POSIX shared memory (shm_open, shm_unlink).
> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
> # use almost no memory if not populated with files)
> tmpfs /dev/shm tmpfs
> nodev,nosuid,noexec 0 0
>
>
> /dev/cdrw /media/cdrecorder auto
> user,exec,noauto,managed 0 0
From "src/core/mount-setup.c":
{ "tmpfs", "/dev/shm", "tmpfs",
"mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME, NULL,
MNT_FATAL|MNT_IN_CONTAINER },
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] fstab cleanup
2014-05-21 13:31 ` Tom H
@ 2014-05-21 17:53 ` Stefan G. Weichinger
2014-05-21 19:44 ` Tom H
0 siblings, 1 reply; 8+ messages in thread
From: Stefan G. Weichinger @ 2014-05-21 17:53 UTC (permalink / raw
To: gentoo-user
Am 21.05.2014 15:31, schrieb Tom H:
> On Wed, May 21, 2014 at 6:32 AM, Stefan G. Weichinger <lists@xunil.at> wrote:
>>
>> Do I still need these lines .. especially with a modern
>> systemd/gnome3-environment?
>>
>> # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
>> # POSIX shared memory (shm_open, shm_unlink).
>> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
>> # use almost no memory if not populated with files)
>> tmpfs /dev/shm tmpfs
>> nodev,nosuid,noexec 0 0
>>
>>
>> /dev/cdrw /media/cdrecorder auto
>> user,exec,noauto,managed 0 0
>
> From "src/core/mount-setup.c":
>
> { "tmpfs", "/dev/shm", "tmpfs",
> "mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME, NULL,
> MNT_FATAL|MNT_IN_CONTAINER },
So the answer is "no" ?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] fstab cleanup
2014-05-21 17:53 ` Stefan G. Weichinger
@ 2014-05-21 19:44 ` Tom H
2014-05-21 20:15 ` Mick
2014-05-21 20:40 ` Stefan G. Weichinger
0 siblings, 2 replies; 8+ messages in thread
From: Tom H @ 2014-05-21 19:44 UTC (permalink / raw
To: Gentoo User
On Wed, May 21, 2014 at 1:53 PM, Stefan G. Weichinger <lists@xunil.at> wrote:
> Am 21.05.2014 15:31, schrieb Tom H:
>> On Wed, May 21, 2014 at 6:32 AM, Stefan G. Weichinger <lists@xunil.at> wrote:
>>>
>>> Do I still need these lines .. especially with a modern
>>> systemd/gnome3-environment?
>>>
>>> # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
>>> # POSIX shared memory (shm_open, shm_unlink).
>>> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
>>> # use almost no memory if not populated with files)
>>> tmpfs /dev/shm tmpfs
>>> nodev,nosuid,noexec 0 0
>>>
>>>
>>> /dev/cdrw /media/cdrecorder auto
>>> user,exec,noauto,managed 0 0
>>
>> From "src/core/mount-setup.c":
>>
>> { "tmpfs", "/dev/shm", "tmpfs",
>> "mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME, NULL,
>> MNT_FATAL|MNT_IN_CONTAINER },
>
> So the answer is "no" ?
The answer is "no" unless you want to apply different perms to "/dev/shm".
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] fstab cleanup
2014-05-21 19:44 ` Tom H
@ 2014-05-21 20:15 ` Mick
2014-05-21 20:40 ` Stefan G. Weichinger
1 sibling, 0 replies; 8+ messages in thread
From: Mick @ 2014-05-21 20:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1389 bytes --]
On Wednesday 21 May 2014 20:44:04 Tom H wrote:
> On Wed, May 21, 2014 at 1:53 PM, Stefan G. Weichinger <lists@xunil.at>
wrote:
> > Am 21.05.2014 15:31, schrieb Tom H:
> >> On Wed, May 21, 2014 at 6:32 AM, Stefan G. Weichinger <lists@xunil.at>
wrote:
> >>> Do I still need these lines .. especially with a modern
> >>> systemd/gnome3-environment?
> >>>
> >>> # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
> >>> # POSIX shared memory (shm_open, shm_unlink).
> >>> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
> >>> # use almost no memory if not populated with files)
> >>> tmpfs /dev/shm tmpfs
> >>> nodev,nosuid,noexec 0 0
> >>>
> >>>
> >>> /dev/cdrw /media/cdrecorder auto
> >>> user,exec,noauto,managed 0 0
> >>
> >> From "src/core/mount-setup.c":
> >>
> >> { "tmpfs", "/dev/shm", "tmpfs",
> >> "mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME, NULL,
> >> MNT_FATAL|MNT_IN_CONTAINER },
> >
> > So the answer is "no" ?
>
> The answer is "no" unless you want to apply different perms to "/dev/shm".
I went through a new installation recently and seem to recall that the fstab
was rather empty from its usual entries. Will older installations eventually
get an enotice to this effect with baselayout updates?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] fstab cleanup
2014-05-21 19:44 ` Tom H
2014-05-21 20:15 ` Mick
@ 2014-05-21 20:40 ` Stefan G. Weichinger
1 sibling, 0 replies; 8+ messages in thread
From: Stefan G. Weichinger @ 2014-05-21 20:40 UTC (permalink / raw
To: gentoo-user
Am 21.05.2014 21:44, schrieb Tom H:
> The answer is "no" unless you want to apply different perms to "/dev/shm".
I don't have an idea why I should want to do that so I removed the line
for now. Thanks.
Stefan
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Re: fstab cleanup
2014-05-21 10:32 [gentoo-user] fstab cleanup Stefan G. Weichinger
2014-05-21 13:31 ` Tom H
@ 2014-05-26 4:47 ` Nikos Chantziaras
2014-05-26 6:27 ` Stefan G. Weichinger
1 sibling, 1 reply; 8+ messages in thread
From: Nikos Chantziaras @ 2014-05-26 4:47 UTC (permalink / raw
To: gentoo-user
On 21/05/14 13:32, Stefan G. Weichinger wrote:
>
> Do I still need these lines .. especially with a modern
> systemd/gnome3-environment?
>
> tmpfs /dev/shm tmpfs
> nodev,nosuid,noexec 0 0
>
> /dev/cdrw /media/cdrecorder auto
> user,exec,noauto,managed 0 0
You can safely delete both. A /dev/shm mount is created automatically,
and /media/cdrecorder is not used by anything.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Re: fstab cleanup
2014-05-26 4:47 ` [gentoo-user] " Nikos Chantziaras
@ 2014-05-26 6:27 ` Stefan G. Weichinger
0 siblings, 0 replies; 8+ messages in thread
From: Stefan G. Weichinger @ 2014-05-26 6:27 UTC (permalink / raw
To: gentoo-user
Am 26.05.2014 06:47, schrieb Nikos Chantziaras:
> On 21/05/14 13:32, Stefan G. Weichinger wrote:
>>
>> Do I still need these lines .. especially with a modern
>> systemd/gnome3-environment?
>>
>> tmpfs /dev/shm tmpfs
>> nodev,nosuid,noexec 0 0
>>
>> /dev/cdrw /media/cdrecorder auto
>> user,exec,noauto,managed 0 0
>
> You can safely delete both. A /dev/shm mount is created automatically,
> and /media/cdrecorder is not used by anything.
Some old cruft left from back then somedays --- removed it already, yes.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-05-26 6:28 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-21 10:32 [gentoo-user] fstab cleanup Stefan G. Weichinger
2014-05-21 13:31 ` Tom H
2014-05-21 17:53 ` Stefan G. Weichinger
2014-05-21 19:44 ` Tom H
2014-05-21 20:15 ` Mick
2014-05-21 20:40 ` Stefan G. Weichinger
2014-05-26 4:47 ` [gentoo-user] " Nikos Chantziaras
2014-05-26 6:27 ` Stefan G. Weichinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox