About redicting superblock data of ext2
Hi All,
I want to store superblok metadata to another file while formating a device with ext2 filesystem .
Breifly I m writing my requirements like ----
Let I ve a block device /dev/sda . I want to do mkfs.ext2 which will format my device with ext2 and it will write all superbck data to the device . But i want to do like when i ll do makfs.ext2 /dev/sda it shd write the superblock to another space other tan sda and I shd able to mount and read write the device sda . so fo his purpose Where shd i touch and how shd I do this plz any one give some idea .
Why I want to do this ?
ans: I want to save the superblock data if the disk got failed also in another place .