Re: 2.4.26 IDE driver

From: Alan Cox
Date: Thu Nov 11 2004 - 10:17:47 EST


On Iau, 2004-11-11 at 14:56, Siddhesh Bhadkamkar wrote:
> this driver will expose only a part of the disk to file system by reporting
> the disk capacity as say real_capacity/4. remaining disk will be hidden from
> the file system. in write operation driver will try to write the same data
> in all 4 parts of the same disk for redundancy. in read it will hope to find
> atleast one copy properly written.
>
> we are using kernel version 2.4.26. what approach do you think would be
> appropriate?

The md driver will do most of this for you, but in truth drives are not
laid out physically and generally go wrong all at once or rapidly
develop errors all over the disk.

As a learning exercise then I'd probably start with the md driver

-
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/