From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: Specify swap partition by UUID Date: Fri, 12 Jul 2019 23:21:09 -0600 Message-ID: <20190712232109.6ef84603@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48822) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmATC-0007UZ-CB for help-guix@gnu.org; Sat, 13 Jul 2019 01:21:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmATB-0005GP-Iq for help-guix@gnu.org; Sat, 13 Jul 2019 01:21:14 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:37861) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmATB-0005FL-Aw for help-guix@gnu.org; Sat, 13 Jul 2019 01:21:13 -0400 Received: by mail-pf1-x430.google.com with SMTP id 19so5203902pfa.4 for ; Fri, 12 Jul 2019 22:21:12 -0700 (PDT) Received: from localhost ([199.68.53.171]) by smtp.gmail.com with ESMTPSA id w18sm13509181pfj.37.2019.07.12.22.21.10 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 12 Jul 2019 22:21:10 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org I recently discovered my current guixsd system does not use my swap device, which is a separate drive. I want to specify a UUID. How might I accomplish this? I do not want to be too adventurous in case I break something and lose everything. I tried the following to no avail: ;;;UUID string of swap device (define swap-uuid ...) ... (swap-devices (list (uuid swap-uuid))) It complained that it did not get a string. (swap-devices (list swap-uuid)) It complained about my swap-uuid not being a file or directory. Any help would be appreciated. -Jesse