On 11/14/2010 9:59 AM, Onkar Mahajan wrote:
What is EXT3_SUPER_MAGIC ?
A signature for identification. How is it arrived at ? There is no formula for it. It can be anything. UFS has signature (magic) which is bill joy's birth date.
I am writing a file system for which I am referring to the ext3 code... I am not able to arrive at a magic number
Magic is normally under superblock. So, for your FS your magic can be anything and it can take any number of bytes of you choice. Normally magic is limited to 4-8 bytes.
for my filesystem.... please help #define EXT3_SUPER_MAGIC 0xEF53 <---- How this is arrived at ? Regards, Onkar
Thanks -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ