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

?

  • 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 Aug 28 '17 at 6:11
  • Sorry. my distro is barebox. – GeneCode Aug 28 '17 at 6:14
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.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.