Messages in this thread | | | Date | Thu, 25 Sep 2003 01:50:41 +0200 | From | Andries Brouwer <> | Subject | Re: rfc: test whether a device has a partition table |
| |
On Wed, Sep 24, 2003 at 02:54:21PM -0700, Linus Torvalds wrote:
> Repeat after me: make the defaults so sane that most people don't even > have to think about it. > > In short, I think your first sentence (upon which the rest of the argument > depends) is just quite _fundamentally_ flawed.
Ha, Linus - didn't you know I am always right?
But being right in theory - like you say, I have repeated these things for many years - is not enough to submit a kernel patch. The post of today was prompted by a mail about certain USB devices:
> On closer examination it seems to be the partition table > which is read ok (as one partition) on W2K and XP > but Linux (both 2.4 and 2.6) gets really confused and > thinks there are 4 malformed partitions.
and
> Linux probably needs to handle this situation more > gracefully. A local police force bought a bunch of > these devices for Linux based forensic work. They > are a bit disappointed at the moment.
So, now not only theory but also practice is involved, and we must do something.
My post implicitly suggested the minimal thing to do. It will not be enough - heuristics are never enough - but it probably helps in most cases.
I wait a little for reactions, and hope to send you a patch later.
Andries
- 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/
| |