Hi People,
It wud be wonderful if someone could explain how the file system magic number works. Reading the book 'Understanding the Linux Kernel' I learnt that in order to mount the root file system the kernel probes all the filesystem types which had been registered at build time. For all these FS probed a call to the read_super function specific to the FS is made to read the super block. But it is said that all these calls will fail except the one for the FS type which actually has the Root FS. This they say is identified by the Filesystem specific magic number. This went a way above my top floor.
Secondly, can we have the filesystem code for the Root FS in a module or is it to be integrated into the kernel compulsarily?
Cheers
Sumit
Do you Yahoo!?
Meet the all-new My Yahoo! ? Try it today!