I read a paper and it used terms cold cache and warm cache. I googled about this terms but I didn't find something useful (only a thread here).
What do these terms mean?
There's a file that I would like to make sure does not grow larger than 2 GB (as it must run on a system that uses ext 2). What's a good way to check a file's size bearing in mind that I will be writing to this file in between checks? In…
I am trying to understand the difference between inode bitmap and inode table (from ext2 file system documentation), but I am not getting it. Can any one explain?
I'm hoping to find a C/C++ library that can read a number of files off an ext formatted volume from within an application in Windows. I do not need to mount this volume in a traditional way, all I need is API access to the files. Read only is…
I've opened the super-block and group descriptor in an EXT2 filesystem, but I don't know how to read for instance the root directory or files in it...
Here's some of what i got
fd=open("/dev/sdb2", O_RDONLY);
lseek(fd, SuperSize, SEEK_SET);
read(fd,…
For a university assignment, we have to modify the ext2 file system to store files in the inode's block pointers if it's smaller than 60 bytes, and move to regular block storage once the file grows larger than that.
I copied the ext2 code from the…
Does the symfony cache system handle ext2 32000 files in the same directory limitation ?
I have 80000 users and i want to cache their profiles but do symfony cache system handle the ext2 limitation ?
i'm also posting for the others who will face the…
We have a smart media card with a linux install on it that we need to duplicate. We created an img with DD and then used dd to write the img back to a couple of new smart media cards. We have compared the MD5 checksum of both the original and the…
I was reading Ext2 file system details, and I am not clear with the fact that the number of blocks in a block group is (b x 8) where b is the block size.
How have they arrived at this figure. What is the significance of 8.
ext2 directory entry is persisted as a linked list. Quote from 1:
A directory file is a linked list of directory entry structures. Each structure contains the name of the entry, the inode associated with the data of this entry, and the distance…
As the title suggests, i'm having trouble figuring out how the Unix kernel converts a logical file offset into a logical block number and then retrieves it from the i-node.
As a reference, i'm asking a more detailed explanation of the "bmap"…
I thought this would be an easy question, but I can't find the answer. I've mainly been reading these specs:
http://www.nongnu.org/ext2-doc/ext2.html
It doesn't seem to mention if a directory entry's name is supposed to be null-terminated. I'm…
I'm writing a Java program to go through and navigate into a ext2 filesystem image. I know my fs is revision 1 (or greater), so I know that there are copies of superblock in groups 0,1 and those that are powers of 3,5 and 7. My question is, what…
Could anyone explain why linux kernel's ext2 function
int ext2_statfs (struct dentry * dentry, struct kstatfs * buf)
issues smp_rmb() andsmp_wmb() in
else if (sbi->s_blocks_last != le32_to_cpu(es->s_blocks_count)) {
case ?
This was added in the…
In the EXT2 file.c the open file operation (.open) is being pointed to dquot_file_open which furthur points to generic_file_open which is present in fs/open.c.
The generic_file_open looks like it just has the below code
int generic_file_open(struct…