unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Mathieu Othacehe <othacehe@gnu.org>
Cc: 47780@debbugs.gnu.org
Subject: bug#47780: [installer] Trying to install to DVD leads to crash
Date: Mon, 14 Jun 2021 14:32:04 +0200	[thread overview]
Message-ID: <8735tky6d7.fsf@gnu.org> (raw)
In-Reply-To: <87czsqgdbb.fsf@gnu.org> (Mathieu Othacehe's message of "Sun, 13 Jun 2021 14:27:04 +0200")

Hi,

Mathieu Othacehe <othacehe@gnu.org> skribis:

>> Possible improvements are:
>>
>>   1. gracefully handling this error;
>>   2. filtering out read-only storage devices from the menu.
>>
>> Thoughts?
>
> Thanks to David's help[1], I realized that the non-filtering of the
> installation device was causing some of the (uuid->string #f) issues
> users were experimenting.
>
> With this commit: 154a4e046281c28e39b5016e965d3d937a2ea4a1, I improved
> the install device detection by removing the device with the default
> Guix System image ISO label.

Nice.

> Now this is fragile and won't work if the ISO label is modified like in
> your use-case. I cannot find another reliable way to detect the
> installation device in the "non-install-devices" procedure. Do you have
> any better idea?

Does Parted provide a way to tell whether a storage device is read-only?
That would be ideal.

Thanks,
Ludo’.




  reply	other threads:[~2021-06-14 12:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-14 19:02 bug#47780: [installer] Trying to install to DVD leads to crash Ludovic Courtès
2021-06-13 12:27 ` Mathieu Othacehe
2021-06-14 12:32   ` Ludovic Courtès [this message]
2021-06-17  9:18     ` Mathieu Othacehe
2021-06-20 20:55       ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735tky6d7.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=47780@debbugs.gnu.org \
    --cc=othacehe@gnu.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 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).