Hey Guys,

File seems to install its config files into /usr/share/file by default.
The specific file I'm referring to are /usr/share/file/magic and
/usr/share/file/magic.mime.

Here's what file's configure --help says:

--datadir=DIR          read-only architecture-independent data
[PREFIX/share]
--sysconfdir=DIR       read-only single-machine data [PREFIX/etc]

The --sysconfdir switch doesn't do anything to our current build that I
can see, but --datadir will move those files into /etc/file/. This seems
to be what slackware does. Slackware builds with both the
--sysconfdir=/etc and --datadir=/etc switches. I'm not sure what other
distros do. There are two associated binary files that are also
affected, however, /usr/share/file/magic.mgc and
/usr/share/file/magic.mime.mgc. Slackware justs deletes them.

In any case, I just wanted to get everyone's opinion on this. Is our
current setup acceptable as is, or should we be looking at moving the
config files to /etc?

--
JH
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to