aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2004-02-23 03:32:36 +0000
committerJudd Vinet <judd@archlinux.org>2004-02-23 03:32:36 +0000
commitd9f8f3c07bcf1ab349fa6484980a04ef57c7212c (patch)
tree01d48c871eb7ed65e65629cdff02eb8d3b738b93
parentd4a5c5ef402ca7315e5429eaccb0748e38b964af (diff)
downloadinitscripts-d9f8f3c07bcf1ab349fa6484980a04ef57c7212c.tar.xz
added setup commands for LVM2
-rwxr-xr-xrc.shutdown2
-rwxr-xr-xrc.sysinit3
2 files changed, 5 insertions, 0 deletions
diff --git a/rc.shutdown b/rc.shutdown
index 9bf8c2d..8bfc9ac 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -62,6 +62,8 @@ stat_done
stat_busy "Unmounting Filesystems"
/bin/umount -a
+# for LVM:
+#/sbin/vgchange --ignorelockingfailure -a n
stat_done
stat_busy "Remounting Root Filesystem Read-only"
diff --git a/rc.sysinit b/rc.sysinit
index 6c21182..f37379e 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -69,6 +69,9 @@ stat_busy "Mounting Local Filesystems"
/bin/mount -n -o remount,rw /
/bin/rm -f /etc/mtab*
/bin/mount /proc
+# for LVM:
+#/sbin/vgscan
+#/sbin/vgchange -a y
/bin/mount -a -t nonfs,nosmbfs,noncpfs
stat_done