From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ALIhO6FbsWYsggAA62LTzQ:P1 (envelope-from ) for ; Mon, 05 Aug 2024 23:09:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id ALIhO6FbsWYsggAA62LTzQ (envelope-from ) for ; Tue, 06 Aug 2024 01:09:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=fz546fPI; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722899361; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XzQ/WbNNCKkW2e5nmrnK6Z9x4EqCHPmD6nBwxR9Tmdw=; b=bYrV0BITbLxBvwklJlPRkzSeOHGZJtcTfQEpLlqXASv0OcRUjSIMbgESs9iN2JAFFjzlJm 0DPpVzbAxPZ9TDlpC3gi3OXyWslleNiJsuYZoLTE5/tkORXLOxh3EtK+4fZ3Qe1uDXZTLM /Jgu0vVJaLrPOhU7NsX5de/VA6R2fl1pH/E+wmW64RwT75NxciwyPXCh+enln3z3jiOrTX M221E/6ZcFH/MDQVQlrFgr/7yvolB7Fqo2BTY+UouYLZYRqZOlHWVgtegMxTK5eiYnpGys AVhovtHvZIW0hTVP+fEfNsxgtFZiYAPLhNtgvbcgTM85ix9+J2ZeyjOojcUuMQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=fz546fPI; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722899361; a=rsa-sha256; cv=none; b=fALYZpDufw2tCtAfzJ+phthd42h3i0I7id4IasuTd5u6VrMTP0ejO/dPzYlCCAphUYCaga vXotu8+uiS0W9Vap0HYxvXMEBPYJia/hVTgmMpDJvbqSzK/+tZCmGOoxZxduDQN3dVTeE9 5mx0MbBM/BVlsmO4tUbd/7ejBJ59O5ALLmxTy1F7leAvHk7WLyzqOOOG1XDp/vTpXRUTKh v4t/DGXHT7JTe+85mN+1OvilyYD7Y7Ot26umEOGHuuaVQFf2xxeRfbzCDa6+gBEzRi/UVg fFn6DNxKKsPVgEElxe65koCKlu7uCy5XxyBH5BKuvg1TsfcF9iRwIWzq1YVuDQ== 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 D40046CDEF for ; Tue, 6 Aug 2024 01:09:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sb6or-0004cv-Gw; Mon, 05 Aug 2024 19:08:49 -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 1sb6on-0004cc-7M for help-guix@gnu.org; Mon, 05 Aug 2024 19:08:45 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1sb6ol-00077d-Bx for help-guix@gnu.org; Mon, 05 Aug 2024 19:08:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=P3aBn9/GyAHxnGQ tyHwSXZbAD0EJGY95l4u1Tz63n5I=; h=date:references:in-reply-to:subject: to:from; d=lease-up.com; b=fz546fPIXq0MBTnrgRsFyNVACMIN0XM6P16Oqw6unuE BuoQEDzOSXoHzUOMBhvmIx+HiO6qCMXqXFg9CILXL9eCc+rnwIaOSKk3megpXvnhWdQNjy /tNX1lD5yCJq2FeafqdJILSDGgGWef697b3hvCczhUzUZcvcVQ1/LbVGls= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 003fef70 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 5 Aug 2024 23:08:41 +0000 (UTC) To: David Lecompte , help-guix@gnu.org Subject: Re: Mounting an SMB share only when used In-Reply-To: References: Date: Mon, 05 Aug 2024 16:08:40 -0700 Message-ID: <87bk26d0uf.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Reply-to: Felix Lechner From: Felix Lechner via 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 X-Migadu-Queue-Id: D40046CDEF X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.65 X-Spam-Score: -6.65 X-TUID: yNeTktW/AZTS 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.