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:39:27 -0400 Message-ID: <20200420093927.42e9608f.raghavgururajan@disroot.org> References: <87k12ald2w.fsf@ambrevar.xyz> <87tv1eldqc.fsf@ambrevar.xyz> <2638304b56ed648dd780625b49e3bb76@disroot.org> <560043a393f4298ad1f1d263535f82e8@disroot.org> <1e1aaec3b2fd14c13fe57d03d4940bc1@disroot.org> <87zhb6jxfz.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42164 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQX4C-0002W2-At for help-guix@gnu.org; Mon, 20 Apr 2020 10:06:32 -0400 Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQX4B-0006ui-6Q for help-guix@gnu.org; Mon, 20 Apr 2020 10:06:31 -0400 Received: from knopi.disroot.org ([178.21.23.139]:56920) by eggs1p.gnu.org with esmtps (TLS1.2:DHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jQX4A-0006qD-7Q for help-guix@gnu.org; Mon, 20 Apr 2020 10:06:30 -0400 In-Reply-To: <87zhb6jxfz.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 Cc: help-guix@gnu.org > To clarify, you can configure udisks to mount your drives somewhere else > like your home directory. Ah I see. Btw, guix does not use udisks to mount file-systems right? Like mounting root file-system at "/", guix just uses mount command correct? > Udiskie is a user service, so I don't think it makes sense to include it > in udisks-service-type. Oh. I have to read about types of services then. As a guess, is it the difference between service running 'system-wide' and 'as and for that user'? > But you can run shepherd as user. I have this service: > > --8<---------------cut here---------------start------------->8--- > (define auto-mount > (make > #:provides '(auto-mount) > #:start (make-system-constructor "udiskie &") > #:stop (make-system-destructor "pkill udiskie") > #:respawn? #t)) > --8<---------------cut here---------------end--------------->8--- Thanks so much. Just to double check, should I put this in my config.scm? Regards, RG.