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

Re: data files in /etc?



On 2004-02-12 Magosányi Árpád <mag@bunuel.tii.matav.hu> wrote:
> There are some files in /etc which are actually data files representing
> the state of the system. Like /etc/mtab, /etc/network/ifstate, or
> /etc/lvmconf/* (it is not even a text file).
> These files are written by programs in occasions one cannot with good
> heart call configuration. Isn't it against the policy?
[...]

Yes, but. ;-)

There for two reasons for files like mtab:
* history.
* These files need to be available early the boot process, and
  therefore reside on the root file-system.

There has been a _big_ discussion about this -devel in 2003, search
for readonly root file-system.
           cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"



Reply to: