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

[linux-lvm] 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



-- 

Good Journey, longevity and prosperity to all

Les Hazelton


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