/dev/mmcblk0 is now suddenly /dev/mmcblk1

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

/dev/mmcblk0 is now suddenly /dev/mmcblk1

Postby ungeskriptet » Thu Sep 17, 2020 1:15 pm

I did a fresh install on a 64GB SD Card for my Raspberry Pi 4B only to notice that /dev/mmcblk0 is now /dev/mmcblk1. I also saw systemd say "A start job is running for /dev/mmcblk0". Is there a way to change it back?
ungeskriptet
 
Posts: 2
Joined: Wed Sep 16, 2020 7:00 pm

Re: /dev/mmcblk0 is now suddenly /dev/mmcblk1

Postby ewtoombs » Tue Oct 27, 2020 8:15 pm

I saw the same thing. I have a Raspberry Pi 4 Model B. Changing mmcblk1 back to mmcblk0 isn't a real solution. The correct thing to do is give the boot filesystem a label and mount by label instead. That's what I did. Device node names are subject to race conditions and should never be relied upon. For instance, if somebody attaches a USB sdcard reader to the raspi's USB port, what happens on boot? Exactly. You don't know.

This is a very serious bug. The default raspberry pi 4 64-bit image will not work out of the box until it is fixed.
ewtoombs
 
Posts: 5
Joined: Tue Sep 20, 2016 8:45 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 29 guests