unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* GuixSD is missing /dev/disk/by-uuid
@ 2016-02-09 10:40 Chris Marusich
  2016-02-09 21:46 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Marusich @ 2016-02-09 10:40 UTC (permalink / raw)
  To: guix-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-16  7:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-09 10:40 GuixSD is missing /dev/disk/by-uuid Chris Marusich
2016-02-09 21:46 ` Ludovic Courtès
2016-02-14 22:42   ` Chris Marusich
2016-02-16  7:19     ` Chris Marusich

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).