unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: David Lecompte <david@metani.eu>
To: help-guix@gnu.org
Subject: Mounting an SMB share only when used
Date: Sun, 28 Jul 2024 21:32:17 +0200	[thread overview]
Message-ID: <e354dc064a0e67e8e79141f360ad2b83a8f04eb8.camel@metani.eu> (raw)

Dear Guix,

On other distros (Trisquel, Parabola), I use autofs to mount SMB shares when
the user tries to access the directory where the share is to be mounted.

I prefer this over mounting something via the file manager of a DE because I
want to access the files in command line, not only via the file manager.

I prefer this over something always mounted because this can be on a laptop
not in the network where the SMB share is, so this would not work.

What would be a suitable way for GuixSD?

I see there is an autofs package, is it functional? Will a daemon be started
for it or is there another way? Also, which files do I need to configure (I
used to configure /etc/auto.master indicating a mount starting point and a
file that lists the SMB shares and mount option)?

Or is there another method?

Thanks for any hint.

David.


             reply	other threads:[~2024-07-28 19:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-28 19:32 David Lecompte [this message]
2024-08-05 23:08 ` Mounting an SMB share only when used Felix Lechner via

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=e354dc064a0e67e8e79141f360ad2b83a8f04eb8.camel@metani.eu \
    --to=david@metani.eu \
    --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).