0
I am using the Barebox bootloader to boot into an embedded system.
I am wondering why some SD-card of mine shows up as 2 devices
/dev/disk0.0 /dev/disk0
And sometimes another SD card it shows only as 1 device
/dev/disk0
?
0
I am using the Barebox bootloader to boot into an embedded system.
I am wondering why some SD-card of mine shows up as 2 devices
/dev/disk0.0 /dev/disk0
And sometimes another SD card it shows only as 1 device
/dev/disk0
?
1
Likely the first sd card is partitioned. /dev/disk0 is your sd card and /dev/disk0.0 would be one of the partitions on that card. You can analyze the partitioning scheme further using your favorite partitioning program, popular ones are fdisk for terminal and gparted for gui.
You have not advised your OS / distro, but my guess is that it depends on the partitioning - as cards can be partitioned like hard drives. – davidgo – 2017-08-28T06:11:46.680
Sorry. my distro is barebox. – GeneCode – 2017-08-28T06:14:53.670