I am searching for a way to get all the metadata of the linux file system (ext2/3/4). The task is to find all the files (deleted/or not deleted) present on the linux partition. The metadata of the files should include creation time , modification…
For a project I'm working on, I need to be able to modify the EXT2 filesystem. I have done extensive research, but as this is not a commonly required task, there seems to be very little helpful information available online. Unfortunately, due to…
Cheers,
So basically I need to create functions named my_open, my_read, my_write, and my_close that manipulate an Ext2 file system image. This all needs to be done in C (the only language I know).
I have written some code that prints all the…
C program that reads a disk image specified as a command
line argument and prints the paths for all files and directories in the
image.If the entry is a directory, print a forward slash at the end
of the path....This is my question in program and i…
From http://www.nongnu.org/ext2-doc/ext2.html#I-BLOCK I understand that if a file uses blocks 11, 12, 13, 14, 15, then the values 11, 12, 13, 14, and 15 are stored in the first 5 (of twelve) "direct block" entries in the inode.
Why doesn't it use a…
Needs: make an ext2/3 File System without datablock, just keep the other part, save the attribute of file or directory and discard the data of them. When write it, just return and when read it, just return all zero.
I download…
How do you construct a file system disk image and then look at its disk layout in bitmap files? How do you add directories to it?
I've used mkfs.ext2 on a file that I made using dd, but I'm not sure if it’s done correctly.
I need to be able to see…
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 have, what might admittedly be…
I have read that RFS is the basic skeleton which is needed in a computer while booting linux.
As per my knowledge File system is a directory structure for storing files.
When RFS is already there, why do we need a other file system like EXT2 and…
I am doing research on file system performance, and I am stumped on how to create a very large file very quickly in C. Basically, I am trying to re-create a file system's folders and files by taking this metadata and storing it into a file. This is…
I have a very tricky issue which bothered me really long..
I was trying to use Ext.net 2.0 combobox to display options from remote DB. Everything works fine, but there is only one issue, when the page first loaded, if I do not change a selection of…
I wish it was as easy as
VirtualBox: extend partition
But its not.
You see in Citrix Xen center Instead of adding a virtual harddisk I just shut the server off and made its vhd* bigger, and that results in more space on a partition I cant seem to…
fdisk is used to create mmcblk0p3 on the 64G SD card.
Disk /dev/mmcblk0: 63.8 GB, 63864569856 bytes
255 heads, 63 sectors/track, 7764 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks…
I am trying to automatically determine the size of a ext2 ramdisk filesystem that a directory will make. What I am currently doing is:
BLOCK_COUNT=`du $RAMDISK_FS_DIR| tail -1 |awk '{print $1}'
dd if=/dev/zero of=ramdisk.img bs=1024…
How does the process of creating a file in ext2 file system look like?
I am trying to make a simple syscall which takes a path and creates given file - like touch.
For example, the code:
int main(void)
{
syscall(MY_SYSCALL_NUMBER,…