Error in lvmcreate_initrd ?
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
Signature · 3 lines
Good Journey, longevity and prosperity to all Les Hazelton
Quoted 15 lines · Les Hazelton
I think there is bug in the
lvmcreate_initrdscript. 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, becauselvm_dir_cachenow uses it
#
Quoted 4 lines
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
Signature · 3 lines
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