[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Read-only /usr



On Sun, Nov 04, 2001 at 07:13:56PM +1000, Anthony Towns wrote:
> Basically, one script is called after apt finishes downloading which
> makes hard links for *all* files under /usr that'll be replaced over the
> upcoming upgrade (keeping a note of all of them), and the other script
> is called after every dpkg run, and, theoretically on reboot or similar,
> which goes through that list and unlinks any files that it reasonably can.

A simpler solution would be to hard link everything in the first half,
and run stat on each link in the cubby directory in the second half,
unlinking those entries with just one link.



Reply to: