help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mounting an SMB share only when used


From: Felix Lechner
Subject: Re: Mounting an SMB share only when used
Date: Mon, 05 Aug 2024 16:08:40 -0700

Hi David,

On Sun, Jul 28 2024, David Lecompte wrote:

> I see there is an autofs package, is it functional?

Probably, as version 5.1.8 is from 2021.  You can also use 5.1.9 locally
and then submit a patch.

> Will a daemon be started for it [...] ?

No, the package will provide the executable, but you must start it.

Aside from one-off experiments, the best way is to start daemons is to
write service definitions. It's not complicated, but your challenges
could be:

    1. Getting the G-expressions right; and
    2. Getting the configuration record to work properly.

You can look at the cachefiled service.  I think mpd is also somewhat
recent.

> Also, which files do I need to configure [...] ?

The configuration record will "serialize" itself into a configuration
file that the daemon understands.

Getting that right can be discouraging, but it pays to stay with it.
You will help a bunch of other people, including potentially me.

Kind regards
Felix

P.S. The define-maybe types tend to be duplicated across source files.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]