Bill Davidsen <[email protected]> wrote:
> Richard B. Johnson wrote:
>> On Fri, 6 May 2005, Bill Davidsen wrote:
>>> 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)
>> 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.
--
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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]