From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +PtkHhqO+l97fwAA0tVLHw (envelope-from ) for ; Sun, 10 Jan 2021 05:18:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QAZ9GRqO+l/aOAAAbx9fmQ (envelope-from ) for ; Sun, 10 Jan 2021 05:18:18 +0000 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 C927E9402A9 for ; Sun, 10 Jan 2021 05:18:17 +0000 (UTC) Received: from localhost ([::1]:56308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyT7I-00046K-IM for larch@yhetil.org; Sun, 10 Jan 2021 00:18:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyT79-00046A-S0 for guix-devel@gnu.org; Sun, 10 Jan 2021 00:18:08 -0500 Received: from mail-40135.protonmail.ch ([185.70.40.135]:64375) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyT77-0007cq-CK for guix-devel@gnu.org; Sun, 10 Jan 2021 00:18:07 -0500 Date: Sun, 10 Jan 2021 05:17:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1610255881; bh=SYy8sK2UAAGgY9veEcr63NEuz8eLmzYjl5JTBC8Gkms=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=oyD8zTAaD7gzWYzrT6IkDxuDdMVHqzW1relAIWG1XEqw9VvQPrxhBVSlPjAveHIdk dO+eKlTj1DqF9omUqf85t1t6MqJXvRqAd7q9mSHyNwZyBzec0Wt57t8R4Ve5A4NOmh V2o7XGOnkzCKXziDkbXqsuZxtgGVcd92AnFDDUf4= To: "guix-devel@gnu.org" From: raid5atemyhomework Subject: Re: ZFS on Guix Message-ID: In-Reply-To: <07kwAFNpjhGFe7ArkjjAtRhr564wvMPGhHFyjGb_XdmmPNddKTmT9Swky1NbbUxHBC4xw3p-m_3JyW16Ql9J7PLyk6UdhCsA2cdkHehdti8=@protonmail.com> References: =?us-ascii?Q?<=5F1CLe9QSGsoMlu5WxBMXm4CbFLM=5FM9iRG1XQF9GDsK0GP208jpngdymfix4tAfoLP94mhMTt-Tx6OP2xN=5Fn78Jhx5KQzkiqPpIci=5F44C9OI=3D@protonmail.com>___<87lfd698xq.fsf@zancanaro.id.au>__<5DEAAAD8-1D08-4489-9AEC-675618F8E388@zancanaro.id.au>____<07kwAFNpjhGFe7ArkjjAtRhr564wvMPGhHFyjGb=5FXdmmPNddKTmT9Swky1NbbUxHBC4xw3p-m=5F3JyW16Ql9J7PLyk6UdhCsA2cdkHehdti8=3D@protonmail.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.135; envelope-from=raid5atemyhomework@protonmail.com; helo=mail-40135.protonmail.ch 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_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: raid5atemyhomework Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=oyD8zTAa; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: C927E9402A9 X-Spam-Score: -3.05 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2e0CY1Vrekhs Hi guix-developers, > Now, my understanding is that `/etc/` directory is recreated at each `gui= x system reconfigure`. Thus, if ZFS maintains information in `/etc/zfs/` th= en on a reconfigure the information is lost. > > If so --- for Guix, what should I use instead? > Okay, a `guix system reconfigure` doesn't remove files in `/etc`, at best I= **think** it just copies/overwrites data, but if the `etc` directory of th= e built system doesn't have a file, it will not be overwritten if something= else writes to `/etc`. Is my understanding correct? On the other hand --- is it "properly Guix" for a system component to write= to a file in the `/etc` directory? Where should I put this kind of not-qui= te-configuration cache file? Thanks raid5atemyhomework