[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifupdown writes to /etc... a bug?

Glenn McGrath <bug1@optushome.com.au> writes:

> On 17 Mar 2003 01:03:31 +0100
> Goswin Brederlow <goswin.brederlow@student.uni-tuebingen.de> wrote:
> > > In this instance the problem has been redefined to be "where should
> > > the ifupdown state file go".
> > 
> > Only place it could go (same with /etc/mtab, /etc/mdtab, /etc/lvmtab)
> > would be a state-fs in the kernel thats similar to the devfs or ramfs.
> > 
> That would be a kernel dependent solution, and hence only a partial
> solution.

Only possible solution. No physical filesystem is garantied writeable
or even existing so a virtual one is needed.

The best idea was to write a one-file-filesystem that behaves just
like a normal file. You just mount it on /etc/mtab or
/etc/network/ifstate and no software would have to be changed at all.

Only difference would be that its in ram and changes get lost on
reboot unles saved somewhere else, which would be prefered anyway.


Reply to: