[linux-lvm] Error in lvmcreate_initrd ?
Andreas Dilger
adilger at turbolinux.com
Thu Oct 26 23:32:27 UTC 2000
Les Hazelton writes:
> I think there is bug in the lvmcreate_initrd script. Notice in the clip
> below the line after cmd-... where the variable VERRSION is set but then
> in the next line VERSION is tested and set if null. The net result is
> that you are unable to pass in a module version to override the value
> provided by VERSION=`uname -r`.
>
> #
> # Changelog
> #
> # 16/11/1999 - corrected -N type with mke2fs
> # 19/12/1999 - use correct ramdisk size
> # strip shared library to save space
> # 04/01/2000 - support /proc mount, because lvm_dir_cache now uses it
> #
>
> cmd=`basename $0`
> VERRSION=$1
> [ -z "$VERSION" ] && VERSION=`uname -r`
> DEVRAM=/dev/ram1
I've added this fix to my collection, and will make a new release soon.
Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert
More information about the linux-lvm
mailing list