On Sat, Dec 18, 2010 at 13:25, Gaurav Mahajan <gauravmahajan2007@xxxxxxxxx> wrote: > Hello all, > > > I am trying to understand the code for raid1.c But I was > not able to figure out the exact policies and protocols followed by > the programmer . Can anybody tell me the policies like how data is > recovered once default mirror is damaged or how mirror set is created. Hopefully my simple idea would help: AFAIK, RAID is now implemented via device mapper. Precisely, mirror mapping. Thus, I suggest to lurk into device mapper code for further research -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ