Re: /etc getting big
On Wed, May 16, 2001 at 09:42:02PM +0200, Bill Allombert wrote:
>/etc must be in / and / is supposed to be keep small.
[snip]
>/etc/X11/flwm is slighlty big because each menu entry is a file like
>yellowpig% cat /etc/X11/flwm/wmx/Debian/Apps/Editors/Emacs\ 20\ DL
>#! /bin/sh
># This file was automatically generated (see /usr/doc/menu).
># DO NOT EDIT!
>/usr/bin/emacs20
>
>Suppressing the warning would make the files smaller.
I would argue that if a file contains such an admonishment (capitalised
even), then it shouldn't be in /etc at all.
My understanding of the menu system is that it generates per-application
menu file(s) from the contents of /usr/lib/menu and /etc/menu.
So if an admin is able to modify the menus through /etc/menu/*, and
should not touch the generated files (which will get overwritten),
perhaps it would make more sense to place those generated files under
/var/lib/<package>? or perhaps /var/cache/<package>?
Regards,
--
Brendan O'Dea bod@compusol.com.au
Compusol Pty. Limited (NSW, Australia) +61 2 9810 3633
Reply to: