[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Partitioning with Ext2/FAT32



On Tue, 9 Jun 1998, Miki Shapiro wrote:
> 
> 1) I understand how the FAT16/32 FS works. I dont know how the Ext2 works,
> nor what INODE is. ummm.. pointer to man/howto plz? :-)) (or a simple
> explanation...)
> 
> 
>                 Regards
> 		Miki Shapiro <Aris>
HI.

Inode stands for index node. It is part of the inner representation of
files in the filesytem (In this case, any Unix filesystem, not only ext2).

In unix, a file is represented as it's inode that has the file
information  -- mode (regular, directory, link, mounted block device
(there might be more, I just don't remember now...) and permissions), then
the dates , creator information and then pointers to the blocks of the
file. (there is also a pointer to block of pointer to the blocks of the
file (called indirect) and a pinter to blocks that have pointer to the
blocks of the file (called double indirect) and also triple indirect).

The directory keeps the name of the file (if you didn't notice until now
that it wasn't in the inode) and the inode. 

If you are more interested, you can read about it in "The unix operating
system"/Bach, and of course TLK - The Linux Kernel (which is a part of
the LDP). You can also read the source code of the ext2 (not
recommended if you don't understand the concept first, but can be very
interesting).

Liran.

BTW: I was at Computex today (until 4:30, couldn't stay more ...) and it
was really nice! Lots of people were interested, and I was more then
surprised to see that so many people have somehow already heard about
Linux. You should come, at least to visit...

---
http://www.math.tau.ac.il/~liranz/