From patchwork Tue Aug 15 10:19:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 7092 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4RQ6hH6QKsz3wlH for ; Tue, 15 Aug 2023 10:19:43 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4RQ6hD2BXMz2dZ; Tue, 15 Aug 2023 10:19:40 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4RQ6hD0gqpz306y; Tue, 15 Aug 2023 10:19:40 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4RQ6hB5fkFz2ycx for ; Tue, 15 Aug 2023 10:19:38 +0000 (UTC) Received: from michael.haj.ipfire.org (michael.haj.ipfire.org [172.28.1.242]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "michael.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4RQ6hB1QsRzLn; Tue, 15 Aug 2023 10:19:38 +0000 (UTC) Received: by michael.haj.ipfire.org (Postfix, from userid 0) id 4RQ6h94t1QzTgSL; Tue, 15 Aug 2023 10:19:37 +0000 (UTC) From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 1/3] mountfs: Mount ExtraHD filesystems Date: Tue, 15 Aug 2023 10:19:34 +0000 Message-Id: <20230815101936.261078-1-michael.tremer@ipfire.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- src/initscripts/system/mountfs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/initscripts/system/mountfs b/src/initscripts/system/mountfs index 81ed729c1..2e2ff0b5b 100644 --- a/src/initscripts/system/mountfs +++ b/src/initscripts/system/mountfs @@ -36,6 +36,11 @@ case "${1}" in boot_mesg "Mounting remaining file systems..." mount -a -O no_netdev &>/dev/null evaluate_retval + + # ExtraHD + boot_mesg "Mounting custom file systems..." + /var/ipfire/extrahd/bin/extrahd.pl mount + evaluate_retval ;; stop) @@ -45,6 +50,11 @@ case "${1}" in sync && sync evaluate_retval + # ExtraHD + boot_mesg "Unmounting custom file systems..." + /var/ipfire/extrahd/bin/extrahd.pl umount + evaluate_retval + boot_mesg "Unmounting all other currently mounted file systems..." umount -a -d -r &>/dev/null evaluate_retval