Subject: Re: bug#38821: Can't run guix from external drive.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 08 Jan 2020 10:58:56 +0100

Hi,

Jan <[email-masked]> skribis:

> On Thu, 02 Jan 2020 19:37:43 +0100
> Ludovic Courtès <[email-masked]> wrote:
>
>> 
>> It most likely means that the current working directory,
>> /media/user/Backup, was unmounted or somehow disappeared in the
>> meantime.
>> 
>> Can you confirm that this is the case?
>> 
>> Thanks,
>> Ludo’.
>
> Yes, it only happens, if the disk is unmounted. Is that normal? If it
> is, then a message telling what's wrong would be helpful.

This issue is not specific to Guix: the ‘getcwd’ function fails if the
current working directory has been unmounted behind the back of the
calling process.  IOW, another program would fail similar in these
circumstances.  I don’t think there’s much that can be done.

Thanks,
Ludo’.