This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: prelinking speed
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 4 Oct 2002 10:05:49 -0400 (EDT)
- Subject: Re: prelinking speed
- References: <200210041329.JAA20215@bromo.msbb.uc.edu>
Jakub,
So one should add something like this to /etc/cron.weekly...
Jack
#!/bin/bash
LOCKFILE=/var/lock/prelink.lock
[ -f $LOCKFILE ] && exit 0
trap "{ rm -f $LOCKFILE; exit 255; }" EXIT
touch $LOCKFILE
prelink -ma
exit 0