From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +B7uLAudpma2fQAA62LTzQ:P1 (envelope-from ) for ; Sun, 28 Jul 2024 19:33:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +B7uLAudpma2fQAA62LTzQ (envelope-from ) for ; Sun, 28 Jul 2024 21:33:31 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=metani.eu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722195210; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=u/nFe3UyOEVJKBkLIfvGSrGTzncPWryG3P3Sp1dcNno=; b=M+AhojMqQT+FrYFJcH/a83NC3IB7rmA9l6aRGK2urp9Epiplq+jYL1SKu1lbPSpU+YX8Ij HIWD0755G/OPBlY/NYJH+epWdMc639kRgSVYlhE9MgRhraKDefGl5TeQkPrrXHAVgkr41R ZiR3wdWJ6MLpNakI+Rz/AapGIcLuQ521goyYHQlkTuABxRAx9UIN9PlV/I3gM7hFthjOBC cqwCneJXBTtC5qHQR0vxM5DKlKHUst9dKBLX6jhgnL1TAZzRsABJuxHMo1CtzQYcKYAH6V zBBTwnlAZmbyYkzHZFaJcyVHoRCS6CSBBbUmoTVc0UluGSdXipRjDTV+OfHLdQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=metani.eu (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722195210; a=rsa-sha256; cv=none; b=gZSRbWaiid+5xdz4tA4IX64U2hXzLSrb8LnIsmZwmYTm1EbxpyRTRIdcfmtWDnWehrOads 5lYjakpvX9GOKLYKQNbabPV7xzewBeGdTdgJT8fmGoC6kcvGMuN3d0yuRaWNjEg/Nt/paC VKcnbvTyWqIHKOwT0tMVHgaGXzKJ2NdUB5gVGkyNADcN5OVC7Vdej2Hernu+K+bjI44mVj eaydDoXiWCdGip1nz60jhCchoT0QeGCkTfWXVf8fA614bObdpYPtzt2sh0tZpooavBJrg+ nIP/5cyIlsElINVj97FVc+zpycwXHCzRbqEPad+NfKrxD29numJCiCEDScLpeQ== 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 6630772A8C for ; Sun, 28 Jul 2024 21:33:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sY9dW-0005yy-04; Sun, 28 Jul 2024 15:32:54 -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 1sY9dU-0005ym-NA for help-guix@gnu.org; Sun, 28 Jul 2024 15:32:52 -0400 Received: from metani.eu ([80.67.179.237] helo=fbox.local) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sY9dS-00070q-Vu for help-guix@gnu.org; Sun, 28 Jul 2024 15:32:52 -0400 Received: from oscar-g.lan (unknown [82.66.3.254]) by fbox.local (Postfix) with ESMTPSA id BE46769951A for ; Sun, 28 Jul 2024 21:32:44 +0200 (CEST) Message-ID: Subject: Mounting an SMB share only when used From: David Lecompte To: help-guix@gnu.org Date: Sun, 28 Jul 2024 21:32:17 +0200 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 Received-SPF: pass client-ip=80.67.179.237; envelope-from=david@metani.eu; helo=fbox.local X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: , 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-Spam-Score: -1.14 X-Migadu-Queue-Id: 6630772A8C X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -1.14 X-TUID: pfXRV4PlU+1N Dear Guix, On other distros (Trisquel, Parabola), I use autofs to mount SMB shares whe= n 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 starte= d 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.