all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Alexandros Prekates <aprekates@posteo.net>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: Unrecognized mount options to an ext4 filesystem.
Date: Wed, 7 Jun 2023 10:26:47 +0300	[thread overview]
Message-ID: <ZIAxNxxt9CF6b5mf@3900XT> (raw)
In-Reply-To: <20230606234009.61940170@posteo.net>

[-- Attachment #1: Type: text/plain, Size: 1646 bytes --]

On Tue, Jun 06, 2023 at 08:40:09PM +0000, Alexandros Prekates wrote:
> On Tue,  6 Jun 2023 16:38:07 +0000
> Alexandros Prekates <aprekates@posteo.net> wrote:
> 
> > On Tue,  6 Jun 2023 16:28:11 +0000
> > Alexandros Prekates <aprekates@posteo.net> wrote:
> > 
> > 
> > I found in the doc something that i had missed:
> > 
> > Run man 8 mount for options for various file systems, but beware that
> > what it lists as file-system-independent “mount options” are in fact
> > flags, and belong in the flags field described above. 
> > 
> > So could i will try to make a flags list and see if i have any lack.
> > 
> > Alexandros.
> > 
> 
> 
> I tried  (flags '(read-only exec))  and  (flags '(read-only nofail))
> 
> but /etc/config.scm:93:23: error: invalid file system mount flag: nofail
> 
> /etc/config.scm:93:23: error: invalid file system mount flag: exec
> 
> So i dont understand how do we pass those FILESYSTEM-INDEPENDENT MOUNT
> OPTIONS to guix system reconfigure ?

For your nofail option you way want the mount-may-fail? option¹. If you
want to check the source for what mount options are supported, its in
(gnu system file-systems), and the list is

(known-flags '(read-only
               bind-mount no-suid no-dev no-exec
               no-atime no-diratime strict-atime lazy-time
               shared))

¹ https://guix.gnu.org/en/manual/devel/en/html_node/File-Systems.html

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-06-07  7:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-06 15:03 Unrecognized mount options to an ext4 filesystem Alexandros Prekates
2023-06-06 15:49 ` Oleg Pykhalov
2023-06-06 16:28   ` Alexandros Prekates
2023-06-06 16:38     ` Alexandros Prekates
2023-06-06 20:40       ` Alexandros Prekates
2023-06-07  7:26         ` Efraim Flashner [this message]
2023-06-09  7:54           ` Alexandros Prekates

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZIAxNxxt9CF6b5mf@3900XT \
    --to=efraim@flashner.co.il \
    --cc=aprekates@posteo.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.