ALT Linux Bugzilla
– Attachment 3417 Details for
Bug 19388
В текущем mkinitrd нет поддержки LVM
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
support booting from root partition located on lvm
mkinitrd.patch (text/plain), 1.45 KB, created by
Ilmir Mulyukov
on 2009-03-28 21:40:27 MSK
(
hide
)
Description:
support booting from root partition located on lvm
Filename:
MIME Type:
Creator:
Ilmir Mulyukov
Created:
2009-03-28 21:40:27 MSK
Size:
1.45 KB
patch
obsolete
>185,190d184 >< # LVM constants >< HAVE_LVM= >< LVM_MODNAME="dm-mod" >< LVM=/sbin/lvm.static >< [ -x "$LVM" ] || LVM= >< >962,968d955 >< FindLVMModules() >< { >< if [ -n "$HAVE_LVM" ]; then >< FindModule $LVM_MODNAME >< fi >< } >< >1101,1116d1087 >< ConfigInitramfsForLVM() >< { >< # this is creating of script for init of LVM >< cat >>"$MNTDIR"/scripts/local-top <<'EOF' >< # Preparing LVM -*- shell-script -*- >< >< log_begin_msg "Starting up LVM" >< >< vgscan >< vgchange -ay >< >< log_end_msg >< EOF >< >< } >< >1213,1223d1183 >< >< if [ -n "$HAVE_LVM" ]; then >< if [ -z $LVM ]; then >< Fatal "Couldn't find executable lvm.static " >< fi >< Cp -aL "$LVM" "$MNTDIR"/sbin/ >< cd "$MNTDIR"/sbin/ >< Ln -s lvm.static vgscan >< Ln -s lvm.static vgchange >< ConfigInitramfsForLVM >< fi >1365d1324 >< --with-lvm enable LVM support. >1388c1347 >< TEMP=`getopt -n "$PROG" -o a:fhvd -l help,version,verbose,debug,force,ifneeded,omit-scsi-modules,omit-ide-modules,omit-raid-modules,with-raid,with-lvm,pause,image-version,nocompress,nobootsplash,strict,fstab:,before:,preload:,with:,after:,extra:,type:,add: -- "$@"` || Usage 1 >--- >> TEMP=`getopt -n "$PROG" -o a:fhvd -l help,version,verbose,debug,force,ifneeded,omit-scsi-modules,omit-ide-modules,omit-raid-modules,with-raid,pause,image-version,nocompress,nobootsplash,strict,fstab:,before:,preload:,with:,after:,extra:,type:,add: -- "$@"` || Usage 1 >1461,1464d1419 >< --with-lvm) >< HAVE_LVM=1 >< shift >< ;; >1579,1580d1533 >< FindLVMModules ><
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
ilmik
:
review-
Actions:
View
|
Diff
Attachments on
bug 19388
:
3417
|
3418