From: "Marek Paśnikowski" <marek@marekpasnikowski.pl>
To: help-guix@gnu.org
Subject: Re: Always mount external disk
Date: Tue, 20 Aug 2024 12:17:48 +0200 [thread overview]
Message-ID: <87frqzo5v7.fsf@marekpasnikowski.pl> (raw)
In-Reply-To: <2f251f4ead345ff601142c27b91c24c2bb793d9e.camel@bluehome.net> (Caleb Herbert's message of "Fri, 16 Aug 2024 18:29:10 -0500")
Caleb Herbert <csh@bluehome.net> writes:
> Hi Guix,
>
> I'd like to always mount my main data disk, HUSKY, to my server
> Farnsworth. However, I would like for the system to not complain if
> HUSKY is not plugged in.
>
> I presume (from discussing it in #guix) that "non-boot-file-system-
> service" should be used for this task. How do I use it? I see no
> examples or documentation in the Manual or Cookbook.
>
> I was definitely told that this was not correct:
>
> (file-system (mount-point "/mnt/HUSKY")
> (device (file-system-label "HUSKY"))
> (type "xfs")
> (create-mount-point? #t))
>
> Thanks,
It is in [the Manual][1]:
(file-system ...
(mount-may-fail? #t))
Keep it simple — test first and see if it satisfies you. Add more
options only when needed. Software gets complicated really quickly.
[1]: https://guix.gnu.org/manual/en/html_node/File-Systems.html
prev parent reply other threads:[~2024-08-20 10:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-16 23:29 Always mount external disk Caleb Herbert
2024-08-19 9:04 ` Ignas Lapėnas
2024-08-20 10:17 ` Marek Paśnikowski [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87frqzo5v7.fsf@marekpasnikowski.pl \
--to=marek@marekpasnikowski.pl \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).