summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2026-01-12 12:09:22 +0000
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2026-01-12 12:09:22 +0000
commit748b9eab50753ce055efa715970f393fec5bc6ee (patch)
treeaf7624827a6155589fb92d5a30a35d3d0331f9f0 /sys-fs
parentRemove kiosk virtuals - unused (diff)
downloadportage-748b9eab50753ce055efa715970f393fec5bc6ee.tar.bz2
portage-748b9eab50753ce055efa715970f393fec5bc6ee.tar.xz
portage-748b9eab50753ce055efa715970f393fec5bc6ee.zip
Remove ocfs2 stuff - unused
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/ocfs2-tools/Manifest6
-rw-r--r--sys-fs/ocfs2-tools/files/ocfs2.confd37
-rw-r--r--sys-fs/ocfs2-tools/files/ocfs2.initd124
-rw-r--r--sys-fs/ocfs2-tools/ocfs2-tools-1.8.7-r1.ebuild62
-rw-r--r--sys-fs/ocfs2-tools/ocfs2-tools-1.8.8.ebuild58
5 files changed, 0 insertions, 287 deletions
diff --git a/sys-fs/ocfs2-tools/Manifest b/sys-fs/ocfs2-tools/Manifest
deleted file mode 100644
index e458800..0000000
--- a/sys-fs/ocfs2-tools/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX ocfs2.confd 1494 BLAKE2B 6390651f1d07fb82c98e7058a7ffa1267672fafc64b84fc320d58076de723e6472b4587ec7fd7ad6345a310f225b1a66f50296e39e772ff4a2c22d7fafa6943b SHA512 7cb63e889fad081d41283534032f41413bbb37202391d7a0f08f590170dc7a11c45bd90946910ba7680e401e4cb80eeb70fe85eb55ecbe9c16507e4d3d0b08c9
-AUX ocfs2.initd 4004 BLAKE2B 8d9f839d9ad7607b45e768b95ebc589c0e6fb729d2fff3afac04cd28f5b72f2a2d958c8e9153ae8db7a5cc01dd4a8e397f6514f3fd4f615317ed6acbb2953208 SHA512 ab35d6916871eed469c3e05470dec6913b96bf806fd67d090f5a6af9eb28e4cd648707d768c0a47f6d2926f969421837adf9ef714b336c929b73df785dbfae1b
-DIST ocfs2-tools-1.8.7.tar.gz 1492231 BLAKE2B 614ec2627dd70c2130bbe15c92154ff30ddec09c1c8a5571a93fceb3b45c139bc6881bad7abaff868084baddb8989497b482baa36b41030ad4341c1891fbd646 SHA512 10246ccb53ec1da59f2117f047bd8a9d7b4e5471e01dd262e8a694b530be2356d843f8faa6cf559f24ca39db45572d57540ee49a373b7658db23ff08c22541bb
-DIST ocfs2-tools-1.8.8.tar.gz 1492331 BLAKE2B ce55bc99829ed6c0a41c578d398a0952ab134d07c8ca8fb323e4bff2287680a5fec57ac959669b7d68b3b50e9070c3802104fe9bcf4c7404ec10e54c2488ffba SHA512 18bde4e03db1bd29bd80d603dcc3177f0775cc37267239f17d4b1352f5e7d3772216b473a5fe4729d9687110c4b0ba4e0dd33ea9defe0a68f9aac78732343136
-EBUILD ocfs2-tools-1.8.7-r1.ebuild 1341 BLAKE2B ae4a9d814b18d24218f5f22a80d79c3269b9b6f79f3e944b54977dff53a2c2830dfa983408139409b70ac89ece51a3441374f24b9a726043c8b6a14ca589b35c SHA512 045d17ba3b5f857e8ed264b35f7a4b40ca643ad717ccbb7b1626ea49a8c8bb1a34c31992329f07316559b3b3a5bbec5153ed47e9c95f6f87aefe8a811275b3ef
-EBUILD ocfs2-tools-1.8.8.ebuild 1226 BLAKE2B 70830461d085ae0edf004c5c0604892ac08b67b2f0d8aaa59e2bc47c3ba4a5ad8be57e2b1c7c1512f73c7f6fe020c55b024a8773afdf3b7bd7d0406c167ae859 SHA512 823a7955212939e52a6c78ee01d5e91f1887803da447ee57ce4588113700b332fd5d4b21861f62f3f7be6e132524af1437723b9b001ec4ff945ee899ae25efc2
diff --git a/sys-fs/ocfs2-tools/files/ocfs2.confd b/sys-fs/ocfs2-tools/files/ocfs2.confd
deleted file mode 100644
index 89f7a98..0000000
--- a/sys-fs/ocfs2-tools/files/ocfs2.confd
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Put your cluster names here, separated by space, ie.
-# OCFS2_CLUSTER="cluster1 admincluster cluster2"
-OCFS2_CLUSTER="home"
-
-# Some heartbeat tweaks to prevent self-fencing quite so much during heavy load.
-# http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html
-
-# How long to wait before a node is considered dead from lack of network activity.
-OCFS2_IDLE_TIMEOUT_MS="30000"
-# How often we should attempt to send heartbeats.
-OCFS2_KEEPALIVE_DELAY_MS="2000"
-OCFS2_RECONNECT_DELAY_MS="2000"
-# How often we should attempt to send heartbeats.
-# How many interations before a node is considered dead from lack of IO activity.
-# (dead_threshold - 1) * 2s
-OCFS2_DEAD_THRESHOLD="61"
-
-# Default: "-fy" (force check on double-unmounted boot). I beleave this is best.
-# Native way is "-y", but once I have twice reboot/powerOFF with bad result...
-# Affected only fstab.
-OCFS2_FSCK="-fy"
-
-# http://oss.oracle.com/projects/ocfs2-tools/news/article_8.html
-# starting from 1.4.3, fsck.ocfs2 "aggressively cache the metadata blocks"
-# this is useful on lots of free memory, but I have heavy slowdown on x86_64
-# with 1G of RAM.
-# "yes" will "swapoff -a" & "swapon -a" around fsck to avoid caching over swap
-OCFS2_FSCK_SWAPOFF="yes"
-
-# Signal to kill processes on stop/umount on busy device (empty to not kill)
-#OCFS2_UMOUNT_KILL="KILL"
-
-# "yes" to force stop
-#OCFS2_FORCE_STOP="no"
diff --git a/sys-fs/ocfs2-tools/files/ocfs2.initd b/sys-fs/ocfs2-tools/files/ocfs2.initd
deleted file mode 100644
index 32ff2e0..0000000
--- a/sys-fs/ocfs2-tools/files/ocfs2.initd
+++ /dev/null
@@ -1,124 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net localmount
- before netmount
-}
-
-check_modules_config() {
- local MODULES=$1
- local CONFIGS=$2
- local MODULE
- local retval=0
-
- for MODULE in ${MODULES}; do
- if ! ls -1 /sys/module | egrep -q "^${MODULE}$"; then
- retval=1
- fi
- done
- if [ ${retval} -eq 1 ] && [ -e /proc/config.gz ]; then
- retval=0
- for MODULE in ${CONFIGS}; do
- if ! gzip -dc /proc/config.gz | egrep -q "^CONFIG_${MODULE}=y$"; then
- retval=1
- fi
- done
- fi
- return ${retval}
-}
-
-check_modules() {
- check_modules_config "ocfs2_dlmfs ocfs2 ocfs2_dlm ocfs2_nodemanager" "OCFS2_FS OCFS2_FS_O2CB" && check_modules_config configfs CONFIGFS_FS && return 0
- if ! egrep -q '\s*ocfs2\s*$' /proc/filesystems || ! egrep -q '\s*ocfs2_dlmfs\s*$' /proc/filesystems; then
- ewarn "One or more required modules are not loaded."
- ewarn "Make sure you have "
- ewarn " - placed ocfs, dlmfs and configfs into /etc/modules.autoload.d/kernel-2.6 or built directly into the kernel."
- ewarn "For a (in)complete documentation, read /usr/share/doc/ocfs-<version>/INSTALL.GENTOO.bz2"
- fi
- return 1
-}
-
-check_pseudofs() {
- local retval=0
- local HASMOUNT="mount -l -t"
- if [ -z "`${HASMOUNT} configfs`" ] ; then
- retval=1
- fi
- if [ -z "`${HASMOUNT} ocfs2_dlmfs`" ] ; then
- retval=1
- fi
-
- if [ ${retval} -eq 1 ]; then
- ewarn "One or more pseudo-filesystes are not mounted."
- ewarn "Make sure you have following lines in your /etc/fstab:"
- ewarn "none /sys/kernel/config configfs defaults 0 0"
- ewarn "none /sys/kernel/dlm ocfs2_dlmfs defaults 0 0"
- fi
- return ${retval}
-}
-
-
-
-start() {
- check_modules || return $?
- check_pseudofs || return $?
-
- einfo "Starting OCFS2 cluster"
- for cluster in ${OCFS2_CLUSTER}; do
- ebegin " - ${cluster}"
- /sbin/o2cb_ctl -H -n ${cluster} -t cluster -a online=yes >/dev/null 2>&1
- eend $?
-
- # Some heartbeat tweaks to prevent self-fencing quite so much during heavy load.
- # http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html
-
- # How long to wait before a node is considered dead from lack of network activity.
- echo $OCFS2_IDLE_TIMEOUT_MS > /sys/kernel/config/cluster/${cluster}/idle_timeout_ms
- # How often we should attempt to send heartbeats.
- echo $OCFS2_KEEPALIVE_DELAY_MS > /sys/kernel/config/cluster/${cluster}/keepalive_delay_ms
- echo $OCFS2_RECONNECT_DELAY_MS > /sys/kernel/config/cluster/${cluster}/reconnect_delay_ms
- # How many interations before a node is considered dead from lack of IO activity.
- # (dead_threshold - 1) * 2s
- echo $OCFS2_DEAD_THRESHOLD > /sys/kernel/config/cluster/${cluster}/heartbeat/dead_threshold
- done
- sleep 2
-}
-
-stop() {
- # Shamelesly stolen from netmount
- local ret
- ebegin "Unmounting OCFS2 filesystems"
- [ -z "$(umount -art ocfs2 2>&1)" ]
- ret=$?
- eend ${ret} "Failed to simply unmount filesystems"
- [ ${ret} -eq 0 ] && return 0
-
- declare -a siglist=( "TERM" "KILL" "KILL" )
- local retry=0
- local remaining="go"
-
- while [ -n "${remaining}" -a ${retry} -lt 3 ]
- do
- remaining="$(awk '$3 ~ /'ocfs2'/ { if ($2 != "/") print $2 }' /proc/mounts | sort -r)"
- IFS=$'\n'
- set -- ${remaining//\\040/ }
- unset IFS
- [ -z "${remaining}" ] && break
-
- ebegin $'\t'"Unmounting ocfs2 filesystems (retry #$((retry+1)))"
- /bin/fuser -k -${siglist[$((retry++))]} -m "$@" &>/dev/null
- sleep 5
- umount "$@" &>/dev/null
- eend $? $'\t'"Failed to unmount filesystems"
- done
-
-
- einfo "Stopping OCFS2 cluster"
- for cluster in ${OCFS_CLUSTERS}; do
- ebegin " - ${cluster}"
- /sbin/o2cb_ctl -H -n ${cluster} -t cluster -a online=no >/dev/null 2>&1
- eend $?
- done
-}
diff --git a/sys-fs/ocfs2-tools/ocfs2-tools-1.8.7-r1.ebuild b/sys-fs/ocfs2-tools/ocfs2-tools-1.8.7-r1.ebuild
deleted file mode 100644
index 1c20fcf..0000000
--- a/sys-fs/ocfs2-tools/ocfs2-tools-1.8.7-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="7"
-inherit autotools
-
-DESCRIPTION="Support programs for the Oracle Cluster Filesystem 2"
-HOMEPAGE="http://oss.oracle.com/projects/ocfs2-tools/ https://github.com/markfasheh/ocfs2-tools"
-SRC_URI="https://github.com/markfasheh/${PN}/archive/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug pacemaker"
-
-RDEPEND="
- dev-libs/libaio
- sys-apps/util-linux
- pacemaker? (
- sys-cluster/dlm
- sys-cluster/pacemaker
- )
- sys-fs/e2fsprogs
- sys-libs/ncurses
- sys-libs/readline
- sys-process/psmisc
-"
-# 99% of deps this thing has is automagic
-# specialy cluster things corosync/pacemaker
-DEPEND="${RDEPEND}"
-S="${WORKDIR}/${PN}-${P}"
-
-DOCS=(
- "${S}/documentation/samples/cluster.conf"
- "${S}/documentation/users_guide.txt"
-)
-
-MAKEOPTS+=" -j1"
-
-src_prepare() {
- default
- # gentoo uses /sys/kernel/dlm as dlmfs mountpoint
- sed -e 's:"/dlm/":"/sys/kernel/dlm":g' \
- -i libo2dlm/o2dlm_test.c \
- -i libocfs2/dlm.c || die "sed failed"
- AT_M4DIR=. eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable debug debug) \
- $(use_enable debug debugexe) \
- --enable-dynamic-fsck \
- --enable-dynamic-ctl
-}
-
-src_install() {
- default
- newinitd "${FILESDIR}/ocfs2.initd" ocfs2
- newconfd "${FILESDIR}/ocfs2.confd" ocfs2
-}
diff --git a/sys-fs/ocfs2-tools/ocfs2-tools-1.8.8.ebuild b/sys-fs/ocfs2-tools/ocfs2-tools-1.8.8.ebuild
deleted file mode 100644
index eb74645..0000000
--- a/sys-fs/ocfs2-tools/ocfs2-tools-1.8.8.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-EAPI="8"
-inherit autotools
-
-DESCRIPTION="Support programs for the Oracle Cluster Filesystem 2"
-HOMEPAGE="http://oss.oracle.com/projects/ocfs2-tools/ https://github.com/markfasheh/ocfs2-tools"
-SRC_URI="https://github.com/markfasheh/${PN}/archive/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug pacemaker"
-
-RDEPEND="
- dev-libs/libaio
- sys-apps/util-linux
- pacemaker? (
- sys-cluster/dlm
- sys-cluster/pacemaker
- )
- sys-fs/e2fsprogs
- sys-libs/ncurses
- sys-libs/readline
- sys-process/psmisc
-"
-# 99% of deps this thing has is automagic
-# specialy cluster things corosync/pacemaker
-DEPEND="${RDEPEND}"
-S="${WORKDIR}/${PN}-${P}"
-
-DOCS=(
- "${S}/documentation/samples/cluster.conf"
- "${S}/documentation/users_guide.txt"
-)
-
-MAKEOPTS+=" -j1"
-
-src_prepare() {
- default
- # gentoo uses /sys/kernel/dlm as dlmfs mountpoint
- sed -e 's:"/dlm/":"/sys/kernel/dlm":g' \
- -i libo2dlm/o2dlm_test.c \
- -i libocfs2/dlm.c || die "sed failed"
- AT_M4DIR=. eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable debug debug) \
- $(use_enable debug debugexe) \
- --enable-dynamic-fsck \
- --enable-dynamic-ctl
-}
-
-src_install() {
- default
- newinitd "${FILESDIR}/ocfs2.initd" ocfs2
- newconfd "${FILESDIR}/ocfs2.confd" ocfs2
-}