Hi Peter,

have you tried 'hdparm -g' ? That reports the geometry, but as you have pointed out it will only show it as it is being presented... now the geometry of flash media does obviously not really exist in its original sense of physical cylinders, heads and sectors, and therefore these media all present something that meets the CHS parameter constraints and multiplies out to the actual size of the memory. I am not sure whether the reader does anything to the geometry, though.

But why can't you simply try it with the geometry obtained from hdparm? After all, if it doesn't work at first you can simply start over - or am I missing something here?

Kind regards,

Helmut.

On 21/07/15 19:34, Peter Simmonds wrote:
Hi All,

More specifically, I need reliable CHS info from the CF card, otherwise when I plug it into the amiga all hell could break loose if any of the numbers are wrong (The partitioning software on the amiga is hit and miss already, but seems to work if the CHS is correct; due to experience with 4GB SCSI drive on amiga). I will look up HDparm in the meantime and learn to use it.

The main question now being, are USB readers (on linux) likely to introduce crap like LBA, or "Large" Hard disk support, resulting in remapping of the CHS info?

The amiga 1200 is still alive, along with the original 40mb seagate drive. Have seen all sorts of domestic hard drives fail except for the remarkable seagates usually, though that is probably another debate.

Cheers,

Peter


On 19/07/2015 20:36, Chris Hellyar wrote:
Sorry, I didn’t get past Amiga 1200.. You’ve got one that works still?

(Can’t help with the query, although I know CF cards look like an IDE device so one assumes normal tools like HDparm etc would report correctly?)


On 19/07/2015, at 19:47, Peter Simmonds <[email protected]> wrote:

Hi All,

May I have a command to get reliable Cylinder/Head/Sector information from a Compact flash card that will be connected via a random USB reader? I need this info as I will be partitioning it with an amiga 1200, and wish to keep my hair!

Cheers,

Peter
_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to