Re: Why aren't partitions limited to fit within the device?



On Mon, 2006-10-16 at 10:08 +1000, Neil Brown wrote:
On Friday October 13, alan@xxxxxxxxxxxxxxxxxxx wrote:
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.

Hmmm.. So Alan things a partially-outside-this-disk partition
shouldn't show up at all, and Andries thinks it should.
And both give reasonably believable justifications.

Maybe the whole part table should be marked as "weird" to let userspace
run a diagnostics/repair tool on the disk.

Xav

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



Relevant Pages

  • Re: Why arent partitions limited to fit within the device?
    ... If I recall correctly at that time the idea was to discard ... partitions that do not fit on the known disk. ... Your idea is better, namely to clip partitions. ... the partition type of the root disk, ...
    (Linux-Kernel)
  • Re: Linux 2.6.29
    ... to the disk ... I call it "overwrite.c" for obvious reasons. ... A common use scenario is "watching live TV", ... But then Myth itself could probably decide whether to discard them ...
    (Linux-Kernel)
  • Re: "Antispam UOL" spam from petsupermarket@uol.com.br?
    ... > And curently I am forwarding all those SPAM's to there abuse address. ... discard any AntiSPAM UOL emails;-)). ... it is probably best to just discard it. ... "One disk to rule them all, ...
    (Debian-User)
  • Re: [patch 00/88] 2.6.28.10-stable review
    ... On Thu, 30 Apr 2009, Willy Tarreau wrote: ... to latest mainline to not make backporting whatever I need for ... "One disk to rule them all, ...
    (Linux-Kernel)
  • Re: email attachments
    ... Sid wrote: ... > to discard some attachments so they aren't taking up space ... Attachments are stored with the message in your PST. ... not free up any disk space. ...
    (microsoft.public.outlook)