From mboxrd@z Thu Jan 1 00:00:00 1970 From: Light King Subject: About redicting superblock data of ext2 Date: Sat, 7 Nov 2009 15:50:47 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 To: linux-fsdevel@vger.kernel.org Return-path: Received: from mail-iw0-f180.google.com ([209.85.223.180]:56007 "EHLO mail-iw0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751384AbZKGKUm (ORCPT ); Sat, 7 Nov 2009 05:20:42 -0500 Received: by iwn10 with SMTP id 10so1405924iwn.4 for ; Sat, 07 Nov 2009 02:20:47 -0800 (PST) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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 .