From: Gordan B. <go...@bo...> - 2009-02-25 15:22:59
|
On Wed, 25 Feb 2009 16:16:49 +0100, Marc Grimme <gr...@at...> wrote: > On Wednesday 25 February 2009 15:54:13 Gordan Bobic wrote: >> First of all, I'd like to say that the latest update that only probes the >> @driver listed modules seems to be working great. It has made the startup >> process much more stable and much, much faster on the clusters that I >> tested it on. :) >> >> One thing that doesn't seem to have made it into the update, though, is >> the parallel gzip mod. Shall I write a patch for auto-detecting the presence >> of pigz on the system and using that instead of gzip, if available? > > Did you try the version uploaded today? Yes, the one I tried was yum updated at about 1pm GMT. > There should be an option to change > the binary to use gzip. > > It's the compression_cmd and opts. I didn't test it but I think it should > do ;-) . > > Take the version comoonics-bootimage-1.4-6 (should be the most recent, > uploaded today). > > [root@axqad102_2 boot-scripts]# cat /etc/comoonics/comoonics-bootimage.cfg > #****h* comoonics-bootimage/comoonics-bootimage.cfg > # NAME > # comoonics-bootimage.cfg > # $id$ > # DESCRIPTION > # Configurationfile for the Comoonics bootimage > # AUTHOR > # Marc Grimme > # > #******* > > # Size of the ramdisk defaults to 85536 > # size=85536 > > # mountpoint to mount the loop-dev to. Defaults to > ${TMPDIR}/initrd.mnt.XXXXXX > # mountpoint=$(mktemp -d /tmp/initrd.mnt.XXXXXX) > > # force to overwrite the image. Default is to ask > # force=0 > > # kernel what kernel to take. Default is $(uname -r) > # kernel=$(uname -r) > > # dep_filename is the file where all dependent files are to be taken from > # default is /etc/comoonics/bootimage/files-$(uname -r).list > dep_filename=/etc/comoonics/bootimage/basefiles.list > > # > # rpm_filename is the file where all dependent files are to be taken from > # default is /etc/comoonics/bootimage/rpms.list > rpm_filename=/etc/comoonics/bootimage/rpms.list > > # > # what compression tool should be used > compression_cmd=gzip > # what options will be passed to command in order to create archive > compression_opts="-c -9" > > # default lockfile points to > lockfile="/var/lock/mkinitrd.lck" Ah, OK, I didn't check for that, thanks. :) Gordan |