Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Testing of devel ISO 20080322

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arjan Bouter <abouter AT sourcemage.org>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Testing of devel ISO 20080322
  • Date: Fri, 11 Apr 2008 08:06:54 +0200

On Fri, Apr 11, 2008 at 07:27:52AM +0200, "Andraž 'ruskie' Levstik" wrote:
> On 07:24:49 2008-04-11 Eric Sandall <eric AT sandall.us> wrote:
> > On Thursday, April 10 2008 22:05:22 Andraž 'ruskie' Levstik wrote:
> > > On 23:24:20 2008-04-10 Eric Sandall <eric AT sandall.us> wrote:
> > > > * The default installed /etc/fstab is missing some common entries,
> > > > such as: tmpfs /var/lock tmpfs
> > > > defaults,size=10m 0 0 tmpfs /var/run
> > > > tmpfs defaults,size=10m 0 0 tmpfs
> > > > /tmp tmpfs defaults,size=1g,nr_inodes=64m 0
> > > > 0
> > > >
> > > > # enable this to get POSIX shared memory support
> > > > (needed for a few apps)
> > > > tmpfs /dev/shm tmpfs defaults,size=2g
> > > > 0 0
> > >
> > > No such thing... All of these are per FHS normal filesystems NOT
> > > tmpfs...
> >
> > If you want to follow FHS, then you need to clear out /tmp, /var/lock,
> > and /var/run on each reboot. :p I just use tmpfs to avoid all that.
> >
> > So, add tmpfs to be closer to FHS by cleaning out what you're supposed
> > to clean out, or modify our init scripts to wipe those directories on
> > boot. I prefer the tmpfs method, myself.
> >
>
> Our init scripts already do that... You should check them...
> And no you aren't supposed to wipe them... clean != wipe...
>
> In run you are only supposed to remove files not directories... And our
> init scripts do that...
>
>
> --
> Andraž "ruskie" Levstik

I agree with Andraž here, they should not be tmpfs by default.
IMHO the best thing would be to add them commented out.
When installing smgl there are already lots of things to think about and
it's quite easy to forget to disable tmpfs in fstab.

Besides the FHS, not everyone has the option to install all the RAM they
ever need...
Take my own laptop as an example, I really do need to be carefull with
the 320MB RAM in there (it's a hardware limit).

Arjan Bouter

+=======
Source Mage GNU/Linux developer,
http://www.sourcemage.org
Registered as user #310617 with the Linux Counter,
http://counter.li.org.
GnuPG Key 79D4B14E = 94AD 3FD1 E259 67ED 632E 2B06 CFBE 1154 79D4 B14E
+===





Archive powered by MHonArc 2.6.24.

Top of Page