From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 0LAsL7nnL2arSwAA62LTzQ:P1 (envelope-from ) for ; Mon, 29 Apr 2024 20:32:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 0LAsL7nnL2arSwAA62LTzQ (envelope-from ) for ; Mon, 29 Apr 2024 20:32:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=RMt6BhWg; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714415545; a=rsa-sha256; cv=none; b=iyTwYpmhX3cmQ3sKYpe7Uh+Jjdw4nkm7MW609sIavwLRf9nADw+FPqdHSE4rJySHD5+Z8Y WwjaVPJiyCRdCLgqUFiRkmfAK5isgAf7AKPt1WhxKw6YokNtQ3ACosTohRHaewFHh7sxTY yuta3bv2t1k9hIRotXCSoQbZZUaDksI4vZtoouS3iPdBxkd7AqurEDws+mOnmuXgkro3hN hl4SCNwfyrtheTInOot2SAe05T0qLgSDXzmMK4jMaPV94HYZaDP9LZShMGqFNqyWTK2xip z/YXc1xijpHfWJWwI4c8Qi60pUBWuLPOC5o1eEPn745i4EY8arQPrfFeoLUBMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=RMt6BhWg; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714415545; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=F1d9U2Sh8szUut3kGfVlQTNJXyMYkPthCRus0Ym4TGk=; b=CChgp6HZ3y1mk9ZSOzRHT7tCVX640JXwrRINkSdsZVmT3JbL749VYczGrxGRyF+MipyPdB iJnxv4YtTYGGRuuYNFH+JKOfNVIp8Kbfln+qc8ftaH7vxE4siY0s5iE6H1g3Pd2cs+5JNe RFopinI50PxUPS9ik3BLAHtRRiGCUD5rnn+UhAOji4WML2JovVuX5CZ8IftyQm+7pjg1Aq QfqciGZZ75cFgkbV9V5EAU820PXSXzFAA8S6O7BNf/Xr5Ol43zdOsydhT3gDIQxazgBft2 kdXvNw+wPG7aeu16d7MUOqHrtwG9XrKrkI/iOhZgKRk/2WUq3oI2L9vYN7Puww== 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 8F7B93746B for ; Mon, 29 Apr 2024 20:32:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1Vn9-000801-Fj; Mon, 29 Apr 2024 14:31:55 -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 1s1Vn5-0007zb-Uu for help-guix@gnu.org; Mon, 29 Apr 2024 14:31:52 -0400 Received: from mail-oa1-x35.google.com ([2001:4860:4864:20::35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s1Vn4-0005cR-9k for help-guix@gnu.org; Mon, 29 Apr 2024 14:31:51 -0400 Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-23be8872854so1670174fac.0 for ; Mon, 29 Apr 2024 11:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714415508; x=1715020308; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=F1d9U2Sh8szUut3kGfVlQTNJXyMYkPthCRus0Ym4TGk=; b=RMt6BhWgQzSLwnc6NHFkaE2EeGKwp4ZVLyyiyts+lq/nay09mj9fll5nAdpl/lbg63 tQ0RDd0ryM6uQ1uJljp0odu/erbMPlsnPqQXDZT9w9y541Mdk+UXsRWD3sMCHHNYpFj1 1Q1RZ6tfGKkQN/iNohhuIzhN9C0q4968ZPmncEqR7FTeQJZRast/cyFweKwHZfOzDE1b +nnQSG/wBNPuaNoAArmnJ4tKK00kLpXl4mVHVZePWkP3Wmt8Ioc74w/e0TIa/mhZJEIg 7tqmk8Rq5aUnnc0mMEExNyQ2t4jLsdLb8hKS+INKZ0rJYmNHmbRf10mLS3RAzBBaD3sB XOpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714415508; x=1715020308; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F1d9U2Sh8szUut3kGfVlQTNJXyMYkPthCRus0Ym4TGk=; b=qDidGy04n61ZGhmvAFpc9FOmU88F8tuxe2FXAdajngsxMX5FM/ZwWdsOzU2vhWc1IG /N/HVKdRvAiZ1xj6767kfrOYmk4UM9c4f3NKbuXbW9iJuo9XXg5hs1g2C/qMhOnKe3Jn 9z0BhRsTB57wlvHjENgPYlgxpjf8CIQTvcGchY1kLgr0yXXJ3Rl4j4s5KcF27vuh8ae5 6kqrBny4x6uLFdxoxXzSq3jeXsLuO6hBHtPZb58+rCMw0H1uMj3TgDVp7d0dw+ZOL5vN EHKxYooPN48RnCuhR7QaiQwRozmo4Hm0dOb/qT5a+2KoC3cdExc4tF+mIYJXK83byTFr Y7Eg== X-Gm-Message-State: AOJu0YzQ191OcVwG+jXOGVBdgXrS2qYEhDpBLmf2bOiqExGTRRBstTYs XWwZGjC+AdDAuWRobtV6ogAjvbRJlCR9t7SqCzUfs/fMqzMeyva7H0g1Ea8F6vW5XfgzwCJAwal 8uYA28/X0kGbF2GTxEx/bN9HJAog= X-Google-Smtp-Source: AGHT+IHJbNR2bdk1USkoXAcCl43RMTq1+WRuO9/F5iWQJE9P5KVSJGLFL8K3E+vmzO6BawXcAQefsTeNK+sQhWeGVDE= X-Received: by 2002:a05:6870:fe94:b0:238:dd2e:b3ef with SMTP id qm20-20020a056870fe9400b00238dd2eb3efmr11808428oab.59.1714415508274; Mon, 29 Apr 2024 11:31:48 -0700 (PDT) MIME-Version: 1.0 References: <875xw0161o.fsf@lease-up.com> In-Reply-To: <875xw0161o.fsf@lease-up.com> From: Nathan Dehnel Date: Mon, 29 Apr 2024 13:31:37 -0500 Message-ID: Subject: Re: What is the difference between the directories in / and in /run/current-system/profile? To: Felix Lechner Cc: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:4860:4864:20::35; envelope-from=ncdehnel@gmail.com; helo=mail-oa1-x35.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Migadu-Queue-Id: 8F7B93746B X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.60 X-Spam-Score: -8.60 X-TUID: gSvGVYp6Ugxc Thanks for the info On Mon, Apr 29, 2024 at 11:34=E2=80=AFAM Felix Lechner wrote: > > Hi Nathaniel, > > On Sat, Apr 27 2024, Nathan Dehnel wrote: > > > These directories are in both locations. > > As you already figured out, they contain different things. > > > What does it mean for a file to be in one place vs the other? > > Files in /var and /etc hold some form of local system state, plus logs. > > Files in your system profile's 'var' provide data that packages are > expected to deposit there. > > For 'etc' it's basically the same, except for configuration files. Many > of those are actually in the store by themselves---and that's really the > goal for Guix. > > My /bin is empty, except for /bin/sh. The profile's bin holds symbolic > links to all 'bin' files from packages in your current profile. The > profile's 'bin' is how your shell finds programs. (It should also look > in /run/setuid-programs.) > > Ideally, / would be empty, except for /gnu/store and mount points for > /home and /root. Some folks run / on a tmpfs and manage to get pretty > close. One challenge is that we haven't figured out what to do with > secrets. The store is public, so they can't go there. > > Please don't despair. Guix is totally different from other operating > systems, but it makes a great deal of sense once you get used to it. > That may involve a year of intense adjustment, or more. > > Kind regards > Felix