Hi,i want to know do you require only one inode to store information for a single file or you require multiple inode for storing a single fileRegardsltoso [by ltoso]
on 04/04/2010 – Made popular on 04/04/2010
I am reading about the EXT2 filesystem and I got an understanding about it. Every file system comprises of data and metadata (inode). The file system is divided into a number of blocks with 4 main blocks containing information about other blocks.
I'm trying to create a graph of the distribution of file sizes on my ext4 system. I'm trying to write a script to scrape this information from my computer somehow. I don't care where the files are stored in the directory structure, only how much space each takes up.
I am trying to understand what an inode is. However, this passage from Wikipedia puzzles me:
Installation of new libraries is simple with inode filesystems. A running process can access a library file while another process replaces that file, creating a new inode, and an all new mapping will exist for the new file so that subsequent attempts to access the library get the new version.
I have removed the journal from my extended 4. As an experiment actually. I also ran fsck.ext and e2fsck. Now when running dumpe2fs, I receive information that says Journal:backup inode. So does that mean the journal inode it still there or that things have been shuffled around a bit? Do I need to clear an inode somewhere to get rid of this? How would I do it?