From: Mark H Weaver <mhw@netris.org>
To: Kete Foy <kete@ninthfloor.org>
Cc: guix-devel <guix-devel@gnu.org>, Alex Kost <alezost@gmail.com>
Subject: Re: Installation media requests
Date: Sun, 01 Feb 2015 22:20:06 -0500 [thread overview]
Message-ID: <877fw1dmop.fsf@netris.org> (raw)
In-Reply-To: <54CEC38D.5040904@ninthfloor.org> (Kete Foy's message of "Sun, 01 Feb 2015 19:23:41 -0500")
Kete Foy <kete@ninthfloor.org> writes:
> On 02/01/2015 11:52 AM, Alex Kost wrote:
>> And it is in GSD as well. Do you mean you can't switch your console
>> layout using "loadkeys colemak"? If so, then the problem is that the
>> upstream names this layout "en-latin9", so as a "workaround" you can try
>> "loadkeys en-latin9".
>>
> This worked.
> Thanks
>
> Mark Weaver also told me to see 6.2.3 in the manual to change the
> partition label setting to UUID. I learned to do this in case their
> are multiple partitions with the same label.
Unfortunately, although manual section 6.2.3 documents that 'title' can
be 'uuid', it's not yet implemented. See 'canonicalize-device-spec' in
gnu/build/file-systems.scm:
--8<---------------cut here---------------start------------->8---
(case canonical-title
((device)
;; Nothing to do.
spec)
((label)
;; Resolve the label.
(let loop ((count 0))
(let ((device (find-partition-by-label spec)))
(or device
;; Some devices take a bit of time to appear, most notably USB
;; storage devices. Thus, wait for the device to appear.
(if (> count max-trials)
(error "failed to resolve partition label" spec)
(begin
(format #t "waiting for partition '~a' to appear...~%"
spec)
(sleep 1)
(loop (+ 1 count))))))))
;; TODO: Add support for UUIDs.
(else
(error "unknown device title" title))))
--8<---------------cut here---------------end--------------->8---
Mark
next prev parent reply other threads:[~2015-02-02 3:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-01 3:02 Installation media requests Kete Foy
2015-02-01 3:39 ` Omar Radwan
2015-02-01 12:08 ` Kete Foy
2015-02-01 16:52 ` Alex Kost
2015-02-01 18:12 ` Kete Foy
2015-02-02 0:23 ` Kete Foy
2015-02-02 3:20 ` Mark H Weaver [this message]
2015-02-02 21:54 ` Ludovic Courtès
2015-02-01 14:01 ` Taylan Ulrich Bayırlı/Kammer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877fw1dmop.fsf@netris.org \
--to=mhw@netris.org \
--cc=alezost@gmail.com \
--cc=guix-devel@gnu.org \
--cc=kete@ninthfloor.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.