LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How ext3 filesystem is organized in the disc? (https://www.linuxquestions.org/questions/linux-software-2/how-ext3-filesystem-is-organized-in-the-disc-296241/)

anindyanuri 03-01-2005 07:47 AM

How ext3 filesystem is organized in the disc?
 
I am a newbie and want to know that how ext3 filesystem is organized in the disc.:newbie:

jtshaw 03-02-2005 01:54 AM

The ext3 file system layout is the same as the ext2 file system layout with a journal added.

The basic structure looks like this:

[Boot Block][Block Group 0][...][Block Group N]

A block group looks as follows

[Super Block][Group Descriptors][Data Block Bitmap][Inode Bitmap][Inode Table][Data blocks]

The super block and both bitmaps are 1 block each, the rest are n blocks.

The journal just insures system call level protection of writes. When you use the write system call either the write will finish completely, or the data will remain as it did before the write. Partial writes are discarded.

anindyanuri 03-02-2005 10:05 AM

Wonderfulllllllllllllllllllllllllllllllllllllllll


All times are GMT -5. The time now is 07:40 AM.