I am working on small ext2 filesystem image manipulation tool (like listing directories, adding and extracting files without the need to mount it).
I've just came into a problem with Unix timestamp fields. They are all 32 bit in ext filesystems. As…
Android uses ext4 file system for read-only partitions, but in my opinion for flash read-only drives ext2 is more appropriate, because it does not have performance overhead and safe for using without write operation.
Am I right?
I'm quite new to C# and I need to write a file (grub) on an EXt2 linux partition from windows 7.
What is the good way to do such thing? Do I need to mount the partition with external program?
I tried to remove inode of a specific file like this :
ext2_filsys filsys;
errcode_t error = ext2fs_open("/dev/sdb1",EXT2_FLAG_RW, 0, 0, unix_io_manager, &filsys); // I know my file is located on /dev/sdb1
ext2_ino_t ino = 13; // I…
I'm developing my own operating system and currently, I'm working on the Ext2 file system driver. I'm using the GRUB files for testing. I'm stuck with listing a directory. I'm reading the first block of the directory's contents and everything is…
I want to get to a specifIC inode (using its number), within an ext2 image, using the C language. I'm traying to do this by opening the ext2 image with the open() syscall, and then traverse it using lseek() with the right offsets, until I get to the…
I'm reading in Understanding the Linux Kernel, 3rd Edition on how to create a new regular file on ext2fs.
(Book is available online at multiple places: not sure as to their legalities. A later version of just the relevant chapter is at O'reilly's…
While I was testing performance of fsync on my Linux machine, I found fsync costs outstanding time when inserting data into a file which grows the file, but it performs 100 times faster when inserting data that just overrides exsting content and not…
I'm trying to wrap my head around the EXT2 file system, but I can't find a single place that shows me the EXT2 file system in detail.
I finally drew up a diagram myself. So I got that far. Now I'm trying to figure out the following (I've found…
Can anyone explain me the relation between struct ext2_super_block ( in fs/ext2/ext2.h) and struct super_block ( in include/linux/fs.h). I am asking this because, in LKP ( by Robert Love ) it says that each filesystem has to implement struct…
I'm hoping to write some tools to help in processing the file system UFS on a disk given access to the raw data. I've learned a bunch about UFS already and know that most Unix/Linux file systems have some commonality. I will read in the FS…
I would like to be able to use the ext2 or ext3 file system in an embedded device without having to use Linux. I plan to have an embedded processor with a SATA hard drive attached. I have found the source code on Kernel.org but I am unsure how to…
Here is a problem I have been fighting with for quite a while with no progress. Hope you can help me out!
I am mounting FUSE in a directory ('home/fsc') without problem, even listing it's parent dir (/home) the following way:
while on /home .. ls…