On Sun, Nov 16, 2025 at 11:03:12PM -0800, Glen Gunsalus wrote:
> fdisk sd0 returns nothing as does fdisk /dev/rsd0c.

What do you mean by, 'returns nothing'?

Now that you are using the correct device names, fdisk should produce output
of some kind.

Based on the disklabel output, the kernel sd driver thinks that it is reading
successfully from the eMMC device.  Since there is no disklabel on the media,
you get a spoofed disklabel with the correct size information but no
partitions and a duid of 0000000000000000.  No I/O errors are returned for
reads.  Running disklabel with no options is non-invasive, it doesn't write
to the media.

In that case, I would expect fdisk to return an empty partition table.

>From your original message, it seems that the eMMC is not blank but has a
debian installation on it.  If you try to read the contents of the eMMC
directly, what do you get?

# dd if=/dev/rsd0c bs=32k | hexdump -C

If you're not concerned with preserving the current content of the eMMC, what
happens if you try to write to it using dd?

# dd if=/dev/random of=/dev/sd0c count=1 seek=61554687

Reply via email to