.info files and the 'dir' file

Randy McMurchy randy at linuxfromscratch.org
Fri Apr 11 07:13:17 PDT 2008

Alexander E. Patrakov wrote these words on 04/11/08 08:58 CST:

> Yes, but could you please provide a list of such buggy packages discovered so far?

I cannot be certain that my script had the stuff for this from the
very beginning of my new LFS build, so I cannot swear the following
are the only packages.

My method is to look and see if there are any .info files in DESTDIR,
then ensure there is also a 'dir' file. If there is no 'dir' file in
DESTDIR (but there are .info files), then I "touch" a 'dir' file
(create a 0-byte 'dir' file) in DESTDIR.

The script will then treat /usr/share/info/dir as a file that is
about to be overwritten, and act accordingly (identify and log it,
preserve the old one, and in the case of /usr/share/info/dir,
rebuild it).

This is what I have so far:

root at rmlinux: /mnt/rml5/build > find Installed -name dir -size 0c


rmlscsi: [bogomips 1003.22] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux i686]
09:08:00 up 53 days, 23:56, 1 user, load average: 0.18, 0.48, 0.32

More information about the blfs-dev mailing list