Re: to conffile or not to conffile
Scott James Remnant <scott@netsplit.com> writes:
> Matt Armstrong <matt@lickey.com> wrote:
>
>> Julian Gilbey <J.D.Gilbey@qmw.ac.uk> writes:
>>
>> > On Fri, Oct 19, 2001 at 02:10:02PM -0500, Warren Turkal wrote:
>> >> Why not just create a symlink to a device node /dev/flipit and
>> >> just link it to the right file.
>> >
>> > Why/how would that help?
>>
>> Then /etc/flipit.conf could just always have /dev/flipit, and the
>> package's maintainer scripts would control where /dev/flipit
>> pointed to.
>>
> And this would integrate with devfs, how?
I have absolutely no idea. :-)
Perhaps the link should be /etc/flipit/port -> /dev/whatever.
In general, I'm confused about non-conffile stuff going in /etc.
People are used to editing whatever they want to in /etc. It seems
like if a package is going to take over a given file (e.g. an
/etc/flipit/port symlink), then it should not be in /etc but in /var
or somewhere else. This way, admins can edit away in /etc/ without
worry that some package will come along and wipe out their changes
simply because it wasn't a conffile.
--
matt
Reply to: