[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1160996072.24237.13.camel@localhost.localdomain>
Date: Mon, 16 Oct 2006 11:54:32 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Xavier Bestel <xavier.bestel@...e.fr>
Cc: Neil Brown <neilb@...e.de>, linux-kernel@...r.kernel.org,
aeb@....nl, Jens Axboe <jens.axboe@...cle.com>
Subject: Re: Why aren't partitions limited to fit within the device?
Ar Llu, 2006-10-16 am 09:28 +0200, ysgrifennodd Xavier Bestel:
> > 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.
I actually like the "read only" suggestion that was made. Allow data
access but protect from damage.
Both options will allow 'repair' of a broken partition table as the
partition will show up in fdisk which accesses stuff directly, and when
that causes a revalidate it will re-appear to the kernel.
Incidentally the question of exactly what libata should do about HPA
handling also needs sorting out.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists