Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] PERFORCE change 78002 by Sergey A. Lipnevich for review

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Perforce Review Daemon <p4review AT smee.org>
  • To: "Andrew Stitt" <a AT t.armory.com>, "Arjan Bouter" <abouter AT sourcemage.org>, "SM-Commit Daemon" <sm-commit AT lists.ibiblio.org>, "duane_malcolm" <d.malcolm AT auckland.ac.nz>, "Eric Sandall" <eric AT sandall.us>, "Ethan Grammatikidis" <eekee AT eekee.is-a-geek.org>, "Gareth Clay" <gareth AT caffeinefuelled.co.uk>, "Ladislav Hagara" <ladislav.hagara AT unob.cz>, "Maurizio Boriani" <baux AT member.fsf.org>, "Pieter Lenaerts" <e-type AT sourcemage.org>, "Pol Vinogradov" <vin.public AT gmail.com>, "Robin Cook" <rcook AT wyrms.net>, "Seth Woolley" <seth AT swoolley.homeip.net>, "Unet" <unet AT sourcemage.org>, "vladimir_marek" <vlmarek AT volny.cz>
  • Subject: [SM-Commit] PERFORCE change 78002 by Sergey A. Lipnevich for review
  • Date: Wed, 19 Apr 2006 05:55:00 +0100 (BST)

Change 78002 by sergey_lipnevich@laptop on 2006/04/19 05:53:12

Initialize LVM stuff before mounting root

Affected files ...

... //sgl/grimoires/devel/smgl/init.d/init.d/mountall.sh#12 edit
... //sgl/grimoires/devel/smgl/init.d/init.d/mountroot.sh#2 edit

Differences ...

==== //sgl/grimoires/devel/smgl/init.d/init.d/mountall.sh#12 (xtext) ====

@@ -58,13 +58,6 @@
mount -a -t /proc
evaluate_retval

- if optional_executable /sbin/vgscan && optional_executable /sbin/vgchange
; then
- echo -n "Scanning for and initializing all available LVM volume
groups..."
- /sbin/vgscan --ignorelockingfailure --mknodes &&
- /sbin/vgchange -ay --ignorelockingfailure
- evaluate_retval
- fi
-
checkfs

if optional_executable /sbin/swapon ; then

==== //sgl/grimoires/devel/smgl/init.d/init.d/mountroot.sh#2 (xtext) ====

@@ -51,6 +51,16 @@
raidstart --all
fi

+ #
+ # Enable logical volumes for LVM and create device nodes
+ #
+ if optional_executable /sbin/vgscan && optional_executable /sbin/vgchange
; then
+ echo -n "Scanning for and initializing all available LVM volume
groups..."
+ /sbin/vgscan --ignorelockingfailure --mknodes &&
+ /sbin/vgchange -ay --ignorelockingfailure
+ evaluate_retval
+ fi
+
echo "Mounting root file system read only..."
mount -n -o remount,ro /
evaluate_retval || exit 1




Archive powered by MHonArc 2.6.24.

Top of Page