From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Raghav Gururajan" Subject: Re: Help with auto-mounting a specific file-system. Date: Mon, 20 Apr 2020 09:42:12 +0000 Message-ID: <1e1aaec3b2fd14c13fe57d03d4940bc1@disroot.org> References: <87k12ald2w.fsf@ambrevar.xyz> <87tv1eldqc.fsf@ambrevar.xyz> <2638304b56ed648dd780625b49e3bb76@disroot.org> <560043a393f4298ad1f1d263535f82e8@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46342 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQSwV-0008E8-1D for help-guix@gnu.org; Mon, 20 Apr 2020 05:42:19 -0400 Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQSwT-00049s-ME for help-guix@gnu.org; Mon, 20 Apr 2020 05:42:18 -0400 Received: from knopi.disroot.org ([178.21.23.139]:54292) by eggs1p.gnu.org with esmtps (TLS1.2:DHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jQSwS-00045u-IP for help-guix@gnu.org; Mon, 20 Apr 2020 05:42:17 -0400 In-Reply-To: <87k12ald2w.fsf@ambrevar.xyz> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt , help-guix@gnu.org Hi Pierre!=0A =0A> I think the best way to do this is to use Guix to set = the right Udev=0A> rules for Udisks:=0A> =0A> https://wiki.archlinux.org/= index.php/Udisks=0A=0AI thought I could use the same concept of mounting = /home or /boot or /store etc., from another disk. But all these are immed= iately after root directory "/" and are likely to be protected. So then I= should not be using this technique to mount something under user's direc= tory "~/".=0A=0AOkay, no problem. I can just do git operations by 'cd'ing= to /media/foo/bar, which is mounted by udisks/udiskie.=0A=0ANow, I am wo= uld like to modify udisks-service-type, to include an option like `enable= -udiskie? boolean` in udisks-configuration. If it is #t, udiskie will run= along with udisks service, on every start-up. Could you help me with a s= cheme code to achieve this?=0A=0ABtw, this is not just for me. We can pat= ch it in guix. This will be very handy for folks using light-weight DE or= window-managers. :-)=0A=0ARegards,=0ARG.