All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Error in lvmcreate_initrd ?
@ 2000-10-26 18:43 Les Hazelton
  2000-10-26 23:32 ` Andreas Dilger
  0 siblings, 1 reply; 2+ messages in thread
From: Les Hazelton @ 2000-10-26 18:43 UTC (permalink / raw)
  To: linux-lvm@msede.com

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] Error in lvmcreate_initrd ?
  2000-10-26 18:43 [linux-lvm] Error in lvmcreate_initrd ? Les Hazelton
@ 2000-10-26 23:32 ` Andreas Dilger
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Dilger @ 2000-10-26 23:32 UTC (permalink / raw)
  To: Les Hazelton; +Cc: linux-lvm@msede.com

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-10-26 23:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-26 18:43 [linux-lvm] Error in lvmcreate_initrd ? Les Hazelton
2000-10-26 23:32 ` Andreas Dilger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.