From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Installation Date: Thu, 18 Jan 2018 11:29:30 +0100 Message-ID: <877esfbgtx.fsf@gnu.org> References: <87mv1c4kp7.fsf@gnu.org> <87k1wgh4hf.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ec7Rx-00015W-Jg for guix-devel@gnu.org; Thu, 18 Jan 2018 05:29:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ec7Rt-0007J9-Kl for guix-devel@gnu.org; Thu, 18 Jan 2018 05:29:37 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:57054) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ec7Rt-0007IQ-DH for guix-devel@gnu.org; Thu, 18 Jan 2018 05:29:33 -0500 In-Reply-To: <87k1wgh4hf.fsf@elephly.net> (Ricardo Wurmus's message of "Wed, 17 Jan 2018 16:47:24 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: Guix-devel Ricardo Wurmus skribis: > Ludovic Court=C3=A8s writes: > >> G=C3=A1bor Boskovits skribis: >> >>> I believe, that we could make a powerful extension to guixsd if we coul= d do >>> an installation from an installation description. >>> >>> I think this installation description should look like the operating-sy= stem description we >>> already have. >> >> In what way would it defer? :-) >> >> =E2=80=98operating-system=E2=80=99 *is* an =E2=80=9Cinstallation descrip= tion.=E2=80=9D > > I guess it would differ from what we have currently in that it would > also specify partitioning information, which is not handled by > =E2=80=9Coperating-system=E2=80=9D. > > Does it make sense to extend =E2=80=9Coperating-system=E2=80=9D such that= disk > partitioning information could be included and (*holds breath*) acted > upon automatically? I suppose only =E2=80=98guix system init=E2=80=99 could actually use that i= nformation. Perhaps we could have a separate partitioning description, and users could optionally run: guix system init --partitioning=3Dpart.scm config.scm ? Is it really an improvement over writing a Parted script, which is something people can already do? > Acting on partitioning info is a little scary because it can easily lead > to data loss upon reconfiguration. Small bugs could lead to very big > problems, so maybe this should not be default behaviour. It=E2=80=99s definitely scary. Ludo=E2=80=99.