From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: GuixSD is missing /dev/disk/by-uuid Date: Tue, 09 Feb 2016 02:40:35 -0800 Message-ID: <87d1s6xj30.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT5ip-0006Zw-QX for guix-devel@gnu.org; Tue, 09 Feb 2016 05:40:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT5io-0005R5-RL for guix-devel@gnu.org; Tue, 09 Feb 2016 05:40:39 -0500 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:35594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT5io-0005Qr-KU for guix-devel@gnu.org; Tue, 09 Feb 2016 05:40:38 -0500 Received: by mail-pa0-x22a.google.com with SMTP id ho8so89550814pac.2 for ; Tue, 09 Feb 2016 02:40:37 -0800 (PST) Received: from garuda ([2601:602:8180:c0:219:b9ff:fe7e:b4cd]) by smtp.gmail.com with ESMTPSA id ud10sm49660756pab.27.2016.02.09.02.40.36 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Feb 2016 02:40:36 -0800 (PST) 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Hi, I've noticed that in GuixSD (version 0.9.0), the directory /dev/disk/by-uuid is missing. Is that expected? Because this directory is missing, cryptsetup cannot open a LUKS device by UUID. For example, see the following: --8<---------------cut here---------------start------------->8--- [0] marusich@garuda:~ $ sudo cryptsetup open --type luks UUID=c39bbc82-b70d-4e3d-a7dc-05f0b85dd84a backup Device /dev/disk/by-uuid/c39bbc82-b70d-4e3d-a7dc-05f0b85dd84a doesn't exist or access denied. [4] marusich@garuda:~ $ sudo cryptsetup open --type luks /dev/sdd1 backup Enter passphrase for /dev/sdd1: [0] marusich@garuda:~ $ blkid /dev/sdd1: UUID="c39bbc82-b70d-4e3d-a7dc-05f0b85dd84a" TYPE="crypto_LUKS" PARTUUID="00093e61-01" [0] marusich@garuda:~ $ ls /dev/disk by-id/ [0] marusich@garuda:~ $ ls /dev/disk/by-id/ dm-name-home dm-uuid-CRYPT-LUKS1-2c7fc92e9e534bd08a178f15a89746bb-home [0] marusich@garuda:~ $ --8<---------------cut here---------------end--------------->8--- As shown above, cryptsetup works fine if I specify /dev/sdd1, but it would be nice to be able to specify the UUID instead. The /dev/disk/by-id directory exists, but the purpose of that directory appears to be different than the purpose of the /dev/disk/by-uuid directory, and it does not contain an entry for the device in question. Is it expected that GuixSD is missing the /dev/disk/by-uuid directory? Thank you for your help, Chris