>On 4/11/06, Peter Tribble <P.Tribble at herts.ac.uk> wrote:
>> On Mon, 2006-04-10 at 22:34, I suggested:
>> > - re-order package installation to install small packages first
>>
>> So I went and estimated how much difference this would make.
>
>How about another (replacement or combinned) approach?  Mount a tmpfs
>file system at /a/var/sadm/install (or /var/sadm?) before package
>installations start, then do something along the lines of:
>
>mkdir /a/var/sadm/install.new
>cd /a/var/sadm/install
>find . cpio -pd /a/var/sadm/install.new
>cd /
>umount /a/var/sadm/install
>rmdir /a/var/sadm/install
>mv /a/var/sadm/install.new /a/var/sadm/install
>
>Presumably this would make it so that the disk is not hit nearly as much.


I used to wrap the mount binaries to do some "after mount" things;
the start script runs too early and you need to hook into the mount.

(Or are we now just trying to see how high Peter will jump?)

Excellent work so far.


Casper


Reply via email to