[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Drive identifiers
From: |
Ludovic Courtès |
Subject: |
Re: Drive identifiers |
Date: |
Wed, 24 Jan 2018 15:12:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Ricardo Wurmus <address@hidden> skribis:
> ;; Get the UUID of the encrypted disk
> (define %uuid
> (let* ((port (open-input-pipe "blkid -s UUID -o value /dev/sda1"))
> (str (read-line port)))
> (close-pipe port)
> str))
> …
> (operating-system …
> (mapped-devices (list (mapped-device
> (source (uuid %uuid))
> (target "root")
> (type luks-device-mapping))))
It’s a weird example because the idea of UUIDs is precisely to *not*
record the partition’s /dev name. :-)
Ludo’.
- Drive identifiers, (continued)
- Drive identifiers, Danny Milosavljevic, 2018/01/18
- Re: Drive identifiers, Danny Milosavljevic, 2018/01/18
- Re: Drive identifiers, Ludovic Courtès, 2018/01/18
- Re: Drive identifiers, Danny Milosavljevic, 2018/01/18
- Re: Drive identifiers, Danny Milosavljevic, 2018/01/19
- Re: Drive identifiers, myglc2, 2018/01/18
- Re: Drive identifiers, Danny Milosavljevic, 2018/01/19
- Re: Drive identifiers, myglc2, 2018/01/18
- Re: Drive identifiers, Danny Milosavljevic, 2018/01/19
- Re: Drive identifiers, Ricardo Wurmus, 2018/01/19
- Re: Drive identifiers,
Ludovic Courtès <=