unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Nathan Dehnel <ncdehnel@gmail.com>
To: Felix Lechner <felix.lechner@lease-up.com>
Cc: help-guix@gnu.org
Subject: Re: What is the difference between the directories in / and in /run/current-system/profile?
Date: Mon, 29 Apr 2024 13:31:37 -0500	[thread overview]
Message-ID: <CAEEhgEv9K1X8BkZbRU2vYH5Bau1eku_mvjNAq=HHP1mmtFvt2w@mail.gmail.com> (raw)
In-Reply-To: <875xw0161o.fsf@lease-up.com>

Thanks for the info

On Mon, Apr 29, 2024 at 11:34 AM Felix Lechner
<felix.lechner@lease-up.com> 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


  reply	other threads:[~2024-04-29 18:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-27 22:41 What is the difference between the directories in / and in /run/current-system/profile? Nathan Dehnel
2024-04-29 16:34 ` Felix Lechner via
2024-04-29 18:31   ` Nathan Dehnel [this message]
2024-06-21 16:53   ` takev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEEhgEv9K1X8BkZbRU2vYH5Bau1eku_mvjNAq=HHP1mmtFvt2w@mail.gmail.com' \
    --to=ncdehnel@gmail.com \
    --cc=felix.lechner@lease-up.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).