Skip to contentSkip to conversation

s390x: Add force flag for dasd style partition label detection

PATCH Alexander Graf 1 participant 1 message Apr 7, 2011 1 message not in the archive s390

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Carsten Otte
Quoted 1 line · Alexander Graf

Could you please tell me some way to format a dasd device so that it has a blocks/track value different from 12? Also, do people actually do this?

That's easy: use a different blocksize than 4096 bytes with dasdfmt.

Ah, I see. Do people do that?

Also, we could just pass the geometry to the force functions as well. That way we could convert things on the fly and keep everything dynamic.

I assume the best approach here would be to specify the blocksize rather than blocks/track value in the command line, as that's what users remember (at least me). What's the correlation between blocks/track and blocksize? Is it just blocks/track * 341? Or is it 1 << blocks/track?

Alex