<Svetlana><Svetlana> yes, i confirm i can see sdb1 now, and that it does print /dev/sdb1
<Svetlana>how do I check for 'does it detect usb drive?' from the scheme prompt that it gives?
<Svetlana>civodul suggested ``,use (guix build linux-initrd)'' and ``(find-partition-by-label "gnu-disk-image")'', but I've not tried that yet (I could try and take notes of what it says, hopefully not many lines)
<DusXMT>I myslf don't knoe exactly how, but you can list directory content in scheme, I'd list /dev to see what sdX devicesthere are. The initrd doesn't come with a shell, so that's the only way I think it can be done
<Svetlana>ah. how can I list directory content in scheme?
<Svetlana>apparently it only detects my usb flash drive and my logitech usb mouse after bugging out with the error about gnu-disk-image not found -- and the commands return sdb1 fine in scheme (except the last long one which says something about unbound variable)
<Svetlana>so i see the error, then scheme prompt, then some more of logs in a format similar to the earlier ones -- this time about 2 usb devices
<civodul>Svetlana: so detection happens *after* the error, right?
<civodul>and find-partition-by-label does work at the prompt?
<alezost>civodul: actually there's some more that need to be done, I'll push it soon to a separate branch and I'll send a message about that
<Svetlana>2 more detail. 1) the error is not 'gnu-disk-image not found', it is 'failed to resolve partition `gnu-disk-image`'; 2) the error message is preceded by a handful of warnings about it being unable to find /dev/sda6
<Svetlana>sda6 is a swap partition created and used by the os I'm chatting here from
<Svetlana>(and unplugging the keyboard didn't make a difference)