lkml.org 
[lkml]   [2006]   [Oct]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Why aren't partitions limited to fit within the device?
FromAlan Cox <>
DateFri, 13 Oct 2006 16:07:27 +0100
Ar Gwe, 2006-10-13 am 09:50 +1000, ysgrifennodd Neil Brown:
> So:  Is there any good reason to not clip the partitions to fit
> within the device - and discard those that are completely beyond
> the end of the device??

Its close but not quite the right approach

> The patch at the end of the mail does that.  Is it OK to submit this
> to mainline?

No I think not. Any partition which is partly outside the disk should be
ignored entirely, that ensures it doesn't accidentally get mounted and
trashed by an HPA or similar mixup.

I agree it should be fixed, I just don't think your fix is actually a
real fix in this case.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-13 14:45    [from the cache]
©2003-2008