Quoth "Bryn M. Reeves" <[EMAIL PROTECTED]>: > Sebastian Tennant wrote: >> Quoth "Bryn M. Reeves" <[EMAIL PROTECTED]>: >>>> Sebastian Tennant <[EMAIL PROTECTED]> wrote: >>>>> $ parted /dev/sdc print >>>>> Disk /dev/sdc: 1016MB >>>>> Sector size (logical/physical): 512B/512B >>>>> Partition Table: msdos >>>>> >>>>> Number Start End Size Type File system Flags >>>>> 1 10.2kB 1016MB 1016MB primary fat16 lba >>>>> >>>>> Any hints/tips/pointers much appreciated. >>> Could you post the content of /proc/partitions with the card attached? >> . >> . >> 8 32 992512 sdc >> 8 33 992150 sdc1 > > The kernel thinks this is a 1GiB card (the units in partitions are 1KiB > blocks). Presumably it previously had a partition table that made sdc1 a > 2GiB partition (the kernel allows this but as you saw spits "attempt to > access beyond end of device" messages when any I/O is submitted for the > nonexistant regions).
Indeed, that was the case. Could you explain what ~ 1 GiB of capactiy is doing on /dev/sdc. As far as understand these things, /dev/sdc is the device and /dev/sdc1 is the first partition on that device. When I did 'parted print /dev/sdc' and saw 1GiB of capacity and then 'parted print /dev/sdc1' and saw 2 GiB of capacity (partition table 'loop'?) I thought "Ugh! What's going on here?" and issued the ill-fated 'parted mklabel msdos /dev/sdc' command. No doubt I should have explored 'loop' partitions before wiping the exisitng table. > Since your phone agrees that it's a 1GiB card it sounds like you have > a mislabelled SD card 'Mislablled' as in bearing the wrong sticky label, yes?.. but it was showing up as 2 Gib before (see above)? Many thanks for your assistnace so far Bryn. Sebastian -- Emacs' AlsaPlayer - Music Without Jolts http://sebyte.org/eap.html _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted