Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-14 Thread RedShift
Gerardo Exequiel Pozzi wrote: Hi people! I interested to make Arch Linux suitable for use with a /var/run and /var/lock that are mounted as tmpfs. But this also helps, in the case that not mounted as tmpfs, to make more simple "purge function" for these directories at rc.sysinit step. In my cas

[arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-14 Thread Juan Diego
hello I think that what Gerardo wanted to say is to make POSSIBLE (and optional) the mount of /va/lock /var/run and /tmp as tmpfs, right now you cannot do it because many startup script doesnt create their own directories specially for /var/run the idea is change those script so you can start you

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-14 Thread Juan Diego
hello I think that what Gerardo wanted to say is to make POSSIBLE (and optional) the mount of /va/lock /var/run and /tmp as tmpfs, right now you cannot do it because many startup script doesnt create their own directories specially for /var/run the idea is change those script so you can start you

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-14 Thread Kristoffer Fossgård
tmpfs used to be used for /tmp before, the reason it got removed as tmpfs was that a tmpfs would get clogged and also had to be setup in /etc/fstab which many others didn't know how to do or did incorrectly, thus leading to lots of difficulties for users. I can't remember exactly, but it was someth

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-14 Thread Gerardo Exequiel Pozzi
Xavier wrote: > Now we already have 2 devs, JGC and Pierre who seem to be against this > proposal, and who recommended you to just populate /var/run and others > based on an initial directory. > Then two users reported they were already using tmpfs with no > problems. Jan Spakula posted his modifie

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-14 Thread Xavier
On Sat, Feb 14, 2009 at 3:39 AM, Gerardo Exequiel Pozzi wrote: > > I will create a feature request to the FS that globalized packages that > are required to be friendly with the desired behavior. Like in the > initial email. > > > Again, thanks for your time, good luck ;) > > I was looking at you

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-13 Thread Gerardo Exequiel Pozzi
Aaron Griffin wrote: > On Fri, Feb 13, 2009 at 1:42 AM, Jan de Groot wrote: > >> On Thu, 2009-02-12 at 20:42 -0200, Gerardo Exequiel Pozzi wrote: >> >>> I know that Arch Linux don't support these directories as tmpfs or >>> "all >>> empty" by default, but with these trivial patches to rc-s

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-13 Thread Aaron Griffin
On Fri, Feb 13, 2009 at 1:42 AM, Jan de Groot wrote: > On Thu, 2009-02-12 at 20:42 -0200, Gerardo Exequiel Pozzi wrote: >> I know that Arch Linux don't support these directories as tmpfs or >> "all >> empty" by default, but with these trivial patches to rc-script can >> support it. >> Not only thi

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-12 Thread Jan de Groot
On Thu, 2009-02-12 at 20:42 -0200, Gerardo Exequiel Pozzi wrote: > I know that Arch Linux don't support these directories as tmpfs or > "all > empty" by default, but with these trivial patches to rc-script can > support it. > Not only this is usefull for "tmpfs", maybe for other things. Having ini

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-12 Thread Gerardo Exequiel Pozzi
RedShift wrote: > Gerardo Exequiel Pozzi wrote: >> Hi people! >> >> I interested to make Arch Linux suitable for use with a /var/run and >> /var/lock that are mounted as tmpfs. But this also helps, in the case >> that not mounted as tmpfs, to make more simple "purge function" for >> these directori

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-12 Thread Gerardo Exequiel Pozzi
Jan Spakula wrote: > Excerpts from Jan Spakula's message of Thu Feb 12 09:22:00 +0100 2009: > >> Excerpts from Jan de Groot's message of Thu Feb 12 08:59:41 +0100 2009: >> >>> On Thu, 2009-02-12 at 05:51 -0200, Gerardo Exequiel Pozzi wrote: >>> I interested to make Arch Linux su

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-12 Thread Gerardo Exequiel Pozzi
Jan de Groot wrote: > On Thu, 2009-02-12 at 05:51 -0200, Gerardo Exequiel Pozzi wrote: > >> Hi people! >> >> I interested to make Arch Linux suitable for use with a /var/run and >> /var/lock that are mounted as tmpfs. But this also helps, in the case >> that not mounted as tmpfs, to make more si

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-12 Thread Damjan Georgievski
> I interested to make Arch Linux suitable for use with a /var/run and > /var/lock that are mounted as tmpfs. But this also helps, in the case > that not mounted as tmpfs, to make more simple "purge function" for > these directories at rc.sysinit step. This could also help to run the root filesyst

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-12 Thread Nicolas Bigaouette
I also have these as tmpfs: /var/cache/songbird /var/cache/firefox /var/lock /var/log /var/run /var/tmp /tmp I created a simple daemon to sync the files. I don't need patching: just add it to the daemon array. I don't care about all except for logs. Here is the small daemon: #!/bin/bash now=`date

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-12 Thread Jan Spakula
Excerpts from Jan Spakula's message of Thu Feb 12 09:22:00 +0100 2009: > Excerpts from Jan de Groot's message of Thu Feb 12 08:59:41 +0100 2009: > > On Thu, 2009-02-12 at 05:51 -0200, Gerardo Exequiel Pozzi wrote: > > > I interested to make Arch Linux suitable for use with a /var/run and > > > /var

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-12 Thread RedShift
Gerardo Exequiel Pozzi wrote: Hi people! I interested to make Arch Linux suitable for use with a /var/run and /var/lock that are mounted as tmpfs. But this also helps, in the case that not mounted as tmpfs, to make more simple "purge function" for these directories at rc.sysinit step. In my cas

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-12 Thread Jan Spakula
Excerpts from Jan de Groot's message of Thu Feb 12 08:59:41 +0100 2009: > On Thu, 2009-02-12 at 05:51 -0200, Gerardo Exequiel Pozzi wrote: > > I interested to make Arch Linux suitable for use with a /var/run and > > /var/lock that are mounted as tmpfs. But this also helps, in the case > > that not

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-11 Thread Jan de Groot
On Thu, 2009-02-12 at 05:51 -0200, Gerardo Exequiel Pozzi wrote: > Hi people! > > I interested to make Arch Linux suitable for use with a /var/run and > /var/lock that are mounted as tmpfs. But this also helps, in the case > that not mounted as tmpfs, to make more simple "purge function" for > the

Re: [arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-11 Thread Gerardo Exequiel Pozzi
Gerardo Exequiel Pozzi wrote: > Hi people! > > I interested to make Arch Linux suitable for use with a /var/run and > /var/lock that are mounted as tmpfs. But this also helps, in the case > that not mounted as tmpfs, to make more simple "purge function" for > these directories at rc.sysinit step. >

[arch-general] [PATCHES] About /var/run/ and /var/lock/ checks in daemons

2009-02-11 Thread Gerardo Exequiel Pozzi
Hi people! I interested to make Arch Linux suitable for use with a /var/run and /var/lock that are mounted as tmpfs. But this also helps, in the case that not mounted as tmpfs, to make more simple "purge function" for these directories at rc.sysinit step. In my case this is "just for fun!", but o