[<prev] [next>] [day] [month] [year] [list]
Message-ID: <a0e7fce50901112059u6ac9bb6duba38795aa85f854c@mail.gmail.com>
Date: Mon, 12 Jan 2009 12:59:13 +0800
From: "yi li" <liyi.dev@...il.com>
To: "Nifty niftylinkern Mitch" <niftylinkern@...tyegg.com>
Cc: linux-kernel@...r.kernel.org, drzeus-mmc@...eus.cx
Subject: Re: [BUG] MMC/SD: SDHC card capacity not correct
On Mon, Jan 12, 2009 at 4:48 AM, Nifty niftylinkern Mitch
<niftylinkern@...tyegg.com> wrote:
>
> Check the partition map. I see one partition smaller than the SD card.
> Compare /dev/mmcblk0 and /dev/mmcblk0p1.
> If this is the answer post a follow up to the kernel list that it was solved.
>
Thanks for the response, but what do you mean?
There is only one partition in the partition table, i.e.,
/dev/mmcblk0p1, isn't it?
fdisk /dev/mmcblk0
Command (m for help): p
Disk /dev/mmcblk0: 8068 MB, 8068268032 bytes
249 heads, 62 sectors/track, 1020 cylinders
Units = cylinders of 15438 * 512 = 7904256 bytes
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 1 1020 7873349 83 Linux
Command (m for help): x
Expert command (m for help): p
Disk /dev/mmcblk0: 249 heads, 62 sectors, 1020 cylinders
Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
1 00 1 1 0 248 62 1019 62 15746698 83
2 00 0 0 0 0 0 0 0 0 00
3 00 0 0 0 0 0 0 0 0 00
4 00 0 0 0 0 0 0 0 0 00
-Yi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists