* [gentoo-user] What is the proper fstab line for shm memory (tmpfs)
@ 2010-02-26 12:13 William Kenworthy
2010-02-26 12:28 ` Volker Armin Hemmann
0 siblings, 1 reply; 3+ messages in thread
From: William Kenworthy @ 2010-02-26 12:13 UTC (permalink / raw
To: gentoo-user List
I have a number of systems with different shm lines in fstab - but which
is correct? - I think they all work, but which is best (and why)? The
main use I am concerned about is a PXE system with root over nfs where I
am putting the portage tmp and some other stuff in tmpfs for speed.
tmpfs /dev/shm tmpfs defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
none /dev/shm tmpfs defaults 0 0
I suspect the middle line is correct.
BillK
--
William Kenworthy <billk@iinet.net.au>
Home in Perth!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] What is the proper fstab line for shm memory (tmpfs)
2010-02-26 12:13 [gentoo-user] What is the proper fstab line for shm memory (tmpfs) William Kenworthy
@ 2010-02-26 12:28 ` Volker Armin Hemmann
2010-02-26 12:57 ` William Kenworthy
0 siblings, 1 reply; 3+ messages in thread
From: Volker Armin Hemmann @ 2010-02-26 12:28 UTC (permalink / raw
To: gentoo-user
On Freitag 26 Februar 2010, William Kenworthy wrote:
> I have a number of systems with different shm lines in fstab - but which
> is correct? - I think they all work, but which is best (and why)? The
> main use I am concerned about is a PXE system with root over nfs where I
> am putting the portage tmp and some other stuff in tmpfs for speed.
>
> tmpfs /dev/shm tmpfs defaults 0 0
> shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
> none /dev/shm tmpfs defaults 0 0
>
> I suspect the middle line is correct.
>
> BillK
I have
shm /dev/shm tmpfs nodev,nosuid,noexec
0 0
for ages in fstab. If it is wrong, I am living a lie for years now.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] What is the proper fstab line for shm memory (tmpfs)
2010-02-26 12:28 ` Volker Armin Hemmann
@ 2010-02-26 12:57 ` William Kenworthy
0 siblings, 0 replies; 3+ messages in thread
From: William Kenworthy @ 2010-02-26 12:57 UTC (permalink / raw
To: gentoo-user
On Fri, 2010-02-26 at 13:28 +0100, Volker Armin Hemmann wrote:
> On Freitag 26 Februar 2010, William Kenworthy wrote:
> > I have a number of systems with different shm lines in fstab - but which
> > is correct? - I think they all work, but which is best (and why)? The
> > main use I am concerned about is a PXE system with root over nfs where I
> > am putting the portage tmp and some other stuff in tmpfs for speed.
> >
> > tmpfs /dev/shm tmpfs defaults 0 0
> > shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
> > none /dev/shm tmpfs defaults 0 0
> >
> > I suspect the middle line is correct.
> >
> > BillK
>
> I have
>
> shm /dev/shm tmpfs nodev,nosuid,noexec
> 0 0
>
> for ages in fstab. If it is wrong, I am living a lie for years now.
Thanks, the reason I am not sure is I often copy fstab between machines
to speed up configuration, and I suspect the lines with "defaults" trace
back to circa 1989 (my first gentoo - over dialup modem with 7 days of
downloading/compiling on a 200Mhz K6 :) or whenever tmpfs appeared in
the kernel.
BillK
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-26 12:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-26 12:13 [gentoo-user] What is the proper fstab line for shm memory (tmpfs) William Kenworthy
2010-02-26 12:28 ` Volker Armin Hemmann
2010-02-26 12:57 ` William Kenworthy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox