unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Emmanuel Medernach <emmanuel.medernach@gmail.com>
Cc: zimoun <zimon.toutoune@gmail.com>, help-guix@gnu.org
Subject: Re: Few questions
Date: Thu, 14 May 2020 13:32:48 +0200	[thread overview]
Message-ID: <878shueopr.fsf@nckx> (raw)
In-Reply-To: <CAC_pKx8KfOTdoHgVTeGsQU-iP7rH84dwQX43JjPc7vBz=7cuWA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 796 bytes --]

Emmanuel,

Emmanuel Medernach 写道:
> I deleted it with the very wrong method of "rm -Rf" of this 
> local package
> in the store, now I learned.

It's a common rite of passage.

However: I hope it didn't work out of the box and you had to jump 
through at least one flaming hoop… right?  Guix-daemon goes to 
some trouble to bind-mount the store read-only.  Running ‘rm -rf’ 
(even as root) should simply fail:

  λ findmnt /gnu/store 
  TARGET     SOURCE                FSTYPE   OPTIONS
  /gnu/store /dev/sda1[/gnu/store] bcachefs ro,relatime,…
                                            ^^

There are probably ways in which bind-mounting could fail.  If it 
really was that easy for you to hork your system, we'd like to 
know :-)

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2020-05-14 11:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-12  7:22 Few questions Emmanuel Medernach
2020-05-12  8:04 ` zimoun
2020-05-12  9:30   ` Emmanuel Medernach
2020-05-12  9:49     ` Michael Rohleder
2020-05-12 11:40     ` zimoun
2020-05-12 11:55       ` Emmanuel Medernach
2020-05-12 12:04         ` zimoun
2020-05-13  6:15           ` Emmanuel Medernach
2020-05-14 11:32             ` Tobias Geerinckx-Rice [this message]
2020-05-14 11:34               ` Tobias Geerinckx-Rice
2020-05-14 12:08                 ` Emmanuel Medernach
2020-05-14 12:30                   ` Tobias Geerinckx-Rice
2020-05-14 12:17                 ` zimoun
2020-05-14 12:35                   ` Julien Lepiller
2020-05-14 12:39                     ` zimoun
2020-05-14 13:56                       ` Julien Lepiller
2020-05-14 14:17                         ` zimoun
2020-05-14 14:26                           ` Tobias Geerinckx-Rice
2020-05-14 12:36                   ` Tobias Geerinckx-Rice
2020-05-14 10:24       ` Vincent Legoll
2020-05-12  9:41 ` pelzflorian (Florian Pelz)
2020-05-12  9:57   ` Emmanuel Medernach

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=878shueopr.fsf@nckx \
    --to=me@tobias.gr \
    --cc=emmanuel.medernach@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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).