summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-09-15 17:46:25 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-09-15 17:46:25 +0000
commit5b82833bbb4c933e8b39951e395df37cfe5bc815 (patch)
tree849d0c4fa377fab50cab6502270d396631d6b361 /sys-fs/evms/files
parentadded SLOT info (diff)
downloadhistorical-5b82833bbb4c933e8b39951e395df37cfe5bc815.tar.gz
historical-5b82833bbb4c933e8b39951e395df37cfe5bc815.tar.bz2
historical-5b82833bbb4c933e8b39951e395df37cfe5bc815.zip
added filesystem related apps to sys-fs from sys-apps
Diffstat (limited to 'sys-fs/evms/files')
-rw-r--r--sys-fs/evms/files/digest-evms-1.2.1-r11
-rw-r--r--sys-fs/evms/files/digest-evms-2.0.11
-rw-r--r--sys-fs/evms/files/digest-evms-2.1.01
-rw-r--r--sys-fs/evms/files/evms-init33
-rw-r--r--sys-fs/evms/files/evms2-init16
5 files changed, 52 insertions, 0 deletions
diff --git a/sys-fs/evms/files/digest-evms-1.2.1-r1 b/sys-fs/evms/files/digest-evms-1.2.1-r1
new file mode 100644
index 000000000000..ddf7efc0d5ee
--- /dev/null
+++ b/sys-fs/evms/files/digest-evms-1.2.1-r1
@@ -0,0 +1 @@
+MD5 fc51e5411459466563de4143c74689b8 evms-1.2.1.tar.gz 1628253
diff --git a/sys-fs/evms/files/digest-evms-2.0.1 b/sys-fs/evms/files/digest-evms-2.0.1
new file mode 100644
index 000000000000..e5eb405f84a9
--- /dev/null
+++ b/sys-fs/evms/files/digest-evms-2.0.1
@@ -0,0 +1 @@
+MD5 879a1acbf15b993b5ad3f7a35f02e8b9 evms-2.0.1.tar.gz 1721291
diff --git a/sys-fs/evms/files/digest-evms-2.1.0 b/sys-fs/evms/files/digest-evms-2.1.0
new file mode 100644
index 000000000000..f5ac70c3f932
--- /dev/null
+++ b/sys-fs/evms/files/digest-evms-2.1.0
@@ -0,0 +1 @@
+MD5 fa5b6dcfec8b3b11123d904754037a67 evms-2.1.0.tar.gz 1836796
diff --git a/sys-fs/evms/files/evms-init b/sys-fs/evms/files/evms-init
new file mode 100644
index 000000000000..0ea1da449745
--- /dev/null
+++ b/sys-fs/evms/files/evms-init
@@ -0,0 +1,33 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/files/evms-init,v 1.1 2003/09/15 17:46:24 seemant Exp $
+
+start() {
+ test -x /sbin/evms_rediscover || eend 1
+
+ # Only run if EVMS modules have been loaded. If no modules are
+ # loaded, evms modules have been compiled in, in which case discovery
+ # has already been done by the kernel, or there is no evms support,
+ # and thus nothing for us to do.
+
+ if ! lsmod | egrep -q '^(ldev_mgr|dos_part|lvm_vge|evms.*|md_core|md_linear|md_raid0|md_raid1|AIXlvm_vge|os2lvm_vge|snapshot) '
+ then
+ ewarn
+ ewarn "Nothing to do; evms support is either statically compiled into"
+ ewarn "your kernel or you forgot to load the modules!"
+ ewarn
+ eend 0
+ fi
+
+ ebegin "Starting evms"
+ evms_rediscover
+ evms_devnode_fixup
+ eend 0
+}
+
+stop() {
+ # nothing to do..
+ # this initscript should probably be moved into bootmisc or something..
+ eend 0
+}
diff --git a/sys-fs/evms/files/evms2-init b/sys-fs/evms/files/evms2-init
new file mode 100644
index 000000000000..a487bc53d617
--- /dev/null
+++ b/sys-fs/evms/files/evms2-init
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/files/evms2-init,v 1.1 2003/09/15 17:46:24 seemant Exp $
+
+start() {
+ ebegin "Starting evms"
+ evms_activate
+ eend 0
+}
+
+stop() {
+ ebegin "Stopping evms"
+ evms_deactivate
+ eend 0
+}