Need help on BASH syntax

This page summarizes the projects mentioned and recommended in the original post on /r/bash

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. kvdo

    A pair of kernel modules which provide pools of deduplicated and/or compressed block storage. (by tigerblue77)

    #!/bin/bash install_dependencies() { (( ${#} > 1 )) && { apt update apt install -y "$@" } || echo "No dependencies to install" } clean_dependencies() { (( ${#} > 1 )) && { apt autoremove --purge -y "$@" } || echo "No dependencies to remove" } clone_repo() { (( ${#} == 1 )) && { TEMPDIR=$(mktemp -d "${1/*\/}.XXX") git clone "$1" "${TEMPDIR}" && \ cd "$TEMPDIR" && pwd -P } } # First part : KVDO module install_dependencies git make "linux-headers-$(uname -r)" > /dev/null 2>&1 WORK_DIR="$(clone_repo https://github.com/tigerblue77/kvdo.git)" ( cd "${WORK_DIR}" && \ make -j"$(nproc)" -C "/usr/src/linux-headers-$(uname -r)" M="${WORK_DIR}" ) > kvdo_log 2>&1 cp "${WORK_DIR}/vdo/kvdo.ko" "${WORK_DIR}/uds/uds.ko" "/lib/modules/$(uname -r)" clean_dependencies git make "linux-headers-$(uname -r)" > /dev/null 2>&1 rm -Rf "${WORK_DIR}" # Second Part: VDO Module install_dependencies git make gcc uuid-dev libz-dev libdevmapper-dev libblkid-dev > /dev/null 2>&1 WORK_DIR="$(clone_repo https://github.com/dm-vdo/vdo.git)" ( cd "${WORK_DIR}" && \ make -j"$(nproc)" && \ make -j"$(nproc)" install ) > vdo_build_log 2>&1 clean_dependencies git make gcc uuid-dev libz-dev libdevmapper-dev libblkid-dev > /dev/null 2>&1 rm -Rf "${WORK_DIR}" # Last Part depmod modprobe kvdo modprobe uds

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. vdo

    Userspace tools for managing VDO volumes.

    #!/bin/bash install_dependencies() { (( ${#} > 1 )) && { apt update apt install -y "$@" } || echo "No dependencies to install" } clean_dependencies() { (( ${#} > 1 )) && { apt autoremove --purge -y "$@" } || echo "No dependencies to remove" } clone_repo() { (( ${#} == 1 )) && { TEMPDIR=$(mktemp -d "${1/*\/}.XXX") git clone "$1" "${TEMPDIR}" && \ cd "$TEMPDIR" && pwd -P } } # First part : KVDO module install_dependencies git make "linux-headers-$(uname -r)" > /dev/null 2>&1 WORK_DIR="$(clone_repo https://github.com/tigerblue77/kvdo.git)" ( cd "${WORK_DIR}" && \ make -j"$(nproc)" -C "/usr/src/linux-headers-$(uname -r)" M="${WORK_DIR}" ) > kvdo_log 2>&1 cp "${WORK_DIR}/vdo/kvdo.ko" "${WORK_DIR}/uds/uds.ko" "/lib/modules/$(uname -r)" clean_dependencies git make "linux-headers-$(uname -r)" > /dev/null 2>&1 rm -Rf "${WORK_DIR}" # Second Part: VDO Module install_dependencies git make gcc uuid-dev libz-dev libdevmapper-dev libblkid-dev > /dev/null 2>&1 WORK_DIR="$(clone_repo https://github.com/dm-vdo/vdo.git)" ( cd "${WORK_DIR}" && \ make -j"$(nproc)" && \ make -j"$(nproc)" install ) > vdo_build_log 2>&1 clean_dependencies git make gcc uuid-dev libz-dev libdevmapper-dev libblkid-dev > /dev/null 2>&1 rm -Rf "${WORK_DIR}" # Last Part depmod modprobe kvdo modprobe uds

  4. kvdo

    A kernel module which provide a pool of deduplicated and/or compressed block storage.

    git clone https://github.com/dm-vdo/kvdo.git $WORK_DIRECTORY && \

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Unable to convert /home LVM logical volume to LVM VDO volume

    4 projects | /r/debian | 23 Apr 2022
  • VDO: Userspace tools for pools of deduplicated and compressed block storage

    1 project | news.ycombinator.com | 14 May 2024
  • VDO – deduplicated and compressed block storage

    1 project | news.ycombinator.com | 14 Aug 2022
  • How do I keep custom kernel modules working after kernel upgrade ? (Debian 11)

    1 project | /r/linuxquestions | 20 Jul 2022
  • "lvextend" freezes my Debian server

    1 project | /r/linuxquestions | 31 May 2022

Did you know that C is
the 6th most popular programming language
based on number of references?