Skip to contentSkip to conversation

Bug: 2.6.11.8 msdos.c

DISCUSSION Bodo Eggert <[email protected]> 1 participant 1 message May 9, 2005 3 messages not in the archive

lore
Share & tools
lore

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

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

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

#3 lore raw
Quoted 7 lines · Bill Davidsen
Quoted 5 lines · Richard B. Johnson
Quoted 3 lines · Bill Davidsen

I looked at the rest of msdos.c and it wasn't blindingly clear what the original intent was. A partition type of zero is unusual, but it's not illegal, is it? (as in violates some standard)

Quoted 6 lines
Quoted 3 lines

Can't the problem be fixed by just using Linux fdisk to put in the correct ID? Unlike MS-DOS fdisk, the Linux fdisk can modify things without destroying everything else on the drive.

Yes, that works. My question was why a zero was considered a bad value instead of "reserved." Not that I disagree, I just don't see the reason.

The values in the other fields are asumed to be ignored if the ID is 0. Therefore, some people store their company name there, which, interpreted as a partition address, results e.g. in overlapping partitions.

If there is a automounter, this bogus partition will be mounted, and if it happens to look like having a valid filesystem, this will result in data corruption or crashes.

Signature · 4 lines
Fun things to slip into your budget
Does that line item say 'Personal Massage System' Oops, it's supposed to be
'Message'. Go ahead and sign the authorization, Boss; I'll correct it later.
(Iike Hell I will)