This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: ldconfig speedup


Probably should use 64-bit fields for ino, dev, size.  
Should use ctime instead of mtime.
Need to align the table in the file.

The hack using the reserved header word is cute, nice for compatibility
paranoia in case of old ld.so's.  OTOH, since only ldconfig uses this info
it is attractive to use a separate file altogether that only ldconfig knows
about.  It should be in a proper place like /var/cache, not /etc.  The
ldconfig cache can store the ctime and size, or signature, or whole
contents, of ld.so.cache so it can quickly and reliably punt a stale
incremental cache.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]