From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eLvTIMvagmSugAAASxT56A (envelope-from ) for ; Fri, 09 Jun 2023 09:54:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CL+QIMvagmQJOwAAauVa8A (envelope-from ) for ; Fri, 09 Jun 2023 09:54:51 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4A4DD2F8B6 for ; Fri, 9 Jun 2023 09:54:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7Wwl-0006my-ON; Fri, 09 Jun 2023 03:54:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7Wwj-0006ml-Fz for help-guix@gnu.org; Fri, 09 Jun 2023 03:54:09 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7Wwh-0000Uy-6b for help-guix@gnu.org; Fri, 09 Jun 2023 03:54:09 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CD8F7240101 for ; Fri, 9 Jun 2023 09:54:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1686297243; bh=O5+nOQjBj8npyZYGXDrY8Hrc9pqkVW0vqPAfIfq1Z58=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=m7a4v19LTS36ntDAkdtkhzl46qQaJ96t1R9irRZ0OWPtI4wUTUzvRJ8RFq3aMsoT1 +8WcBAZmXkjVCKU2QZ7jJGBiKiLjvfGqX7UbYywker+CTmth0cw93b3vkzuapwId5u wd3AldXCOzygRf62gyn1TdPs9zesWe/OIioEEt5iO4TNCAermY7ScMe0eiJWcw3PLB dBB/6i8SirA3lYvhOLdJAzv24B/v744NMZxhNYX5LeeqgiC8j+YJoDvfa9CvDhtKYm Jjk70ZJbQx9eeQXKCxu+rcn1HvwYI49BT5YYp6fhhWw8Rc/r5Kdcu5rbw5IVhT/TQk Fh8h8sh6HL4HQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Qctd718syz9rxX; Fri, 9 Jun 2023 09:54:02 +0200 (CEST) Date: Fri, 9 Jun 2023 07:54:01 +0000 From: Alexandros Prekates To: Efraim Flashner Cc: "help-guix@gnu.org" Subject: Re: Unrecognized mount options to an ext4 filesystem. Message-ID: <20230609105401.0bedb4fb@posteo.net> In-Reply-To: References: <20230606180345.3e1c06a8@posteo.net> <878rcwh9pt.fsf@gmail.com> <20230606192811.2ebc7ee7@posteo.net> <20230606193807.68334995@posteo.net> <20230606234009.61940170@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=aprekates@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686297291; a=rsa-sha256; cv=none; b=ISQaw1VEgP53GcLuwezgaBxVRQtPLoHaAu0R3wmlwnlCunXaxc4J1erMIA5A4n/VFNfs6m O05zcElylnQoYCN+jm6pM1Lj1N7ZUgcV4V/lP+vRGGsoUxtL1SwKWnqxYbtG+FOk3dtSmv uih2nSbCFPklKgc/OJlHKfF0m3Ive6n7XsPdeLDBmFDAsYKbJYPMWO+tq9R3hhlsmhjQt8 35BipCXsDQNFL/UkcIboSIiE9FyNGEJNPVa/H3698Yupi1mUDXpjvoF30sSDJCuZKlYgAs MdABGan8KFmLp3P9kzxCoaWYrzsO2zeoDsTSXUySF/xtCqy7HQR13jhu1f7rOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=m7a4v19L; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686297291; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=idA6KecbaULKIExUqpvxn8+JRRxD2SOJ+obcTggYd1M=; b=gO1LeJhIB6pD1Oyoz4hMHQDl3+3A0vMyE9gJapO4RJdNbXskGnBRK+70/zAE7HpFlpRUdy izwsvtGp0TErP8y6HO8H/EsjIP0Qp3pNFvvPHs/mHv4pjv9Rf3ADWMP9c8cfip3KfuH1e0 RUEsImpfvlt0C9FIjeu2CVPJUxVUQ5fjqiYjK+85NomTPYKY173E8KDQOqSowaQ5WBSim6 BoyHalmGN6JKUhF6V5ecBPn0AD/yCyjswXizIUIxEPmEWf+yAO0/eVKgDpPSjtdafPMuhq FK066tkne9tpYnoawof0lVgvcKVX7J2n+UIn4rL6zjHyUxIqqC/xZkUHVMFIaA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=m7a4v19L; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -8.18 X-Spam-Score: -8.18 X-Migadu-Queue-Id: 4A4DD2F8B6 X-TUID: YPsTJqeOKD82 On Wed, 7 Jun 2023 10:26:47 +0300 Efraim Flashner wrote: > On Tue, Jun 06, 2023 at 08:40:09PM +0000, Alexandros Prekates wrote: > > On Tue, 6 Jun 2023 16:38:07 +0000 > > Alexandros Prekates wrote: > > =20 > > > On Tue, 6 Jun 2023 16:28:11 +0000 > > > Alexandros Prekates wrote: > > >=20 > > >=20 > > > I found in the doc something that i had missed: > > >=20 > > > Run man 8 mount for options for various file systems, but beware > > > that what it lists as file-system-independent =E2=80=9Cmount options= =E2=80=9D are > > > in fact flags, and belong in the flags field described above.=20 > > >=20 > > > So could i will try to make a flags list and see if i have any > > > lack. > > >=20 > > > Alexandros. > > > =20 > >=20 > >=20 > > I tried (flags '(read-only exec)) and (flags '(read-only nofail)) > >=20 > > but /etc/config.scm:93:23: error: invalid file system mount flag: > > nofail > >=20 > > /etc/config.scm:93:23: error: invalid file system mount flag: exec > >=20 > > So i dont understand how do we pass those FILESYSTEM-INDEPENDENT > > MOUNT OPTIONS to guix system reconfigure ? =20 >=20 > For your nofail option you way want the mount-may-fail? option=C2=B9. If > you want to check the source for what mount options are supported, > its in (gnu system file-systems), and the list is >=20 > (known-flags '(read-only > bind-mount no-suid no-dev no-exec > no-atime no-diratime strict-atime lazy-time > shared)) >=20 > =C2=B9 https://guix.gnu.org/en/manual/devel/en/html_node/File-Systems.html >=20 Efrail thanks for looking into the source. I tried : (file-system (mount-point "/home/chomwitt/MyCalibreLibrary-SSD")=20 (device (uuid "ae0661f6-0d22-3e0a-aa9c-fba7c17af6a4" 'ext4)) (type "ext4") ;;(mount? #f) (mount-may-fail? #t) (flags '()) ) But if i disconect my external ssd then guix wont boot to my login tty. While i wait in a blank screen if i connect my usb ssd back then the boot proceeds ok. As you see i previously tried (mount? #f) an alternative fallback solution propoped to me in irc #guix by jpoiret. The idea is to boot my system with my internal storage's filesystems and after boot to mount external fs by a script for example. =20