On Tue, 16 Nov 2004 01:01:02 +0800, Bao zhao <paozhaokeats@xxxxxxxxxxx> wrote: > In ext2 , It seems superblock always starts from 1024bytes ,ie. boot > block occupies the first 1K of partition . yes thats correct in context of ext2. no matter if the block size is 1k or 4k super block of ext2 starts after 1024 bytes. > what about other fs? interesting thing about the reiserfs (and reiser4) is that it leaves 64k before starting the super block .... heres comment from Hans :-) [include/linux/reiserfs_fs.h] /* ReiserFS leaves the first 64k unused, so that partition labels have enough space. If someone wants to write a fancy bootloader that needs more than 64k, let us know, and this will be increased in size. This number must be larger than than the largest block size on any platform, or code will break. -Hans */ #define REISERFS_DISK_OFFSET_IN_BYTES (64 * 1024) -Anup Infosys Technologies Ltd. > > Thank in advance for anyone's help! > > Bao Zhao > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.com/ > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/