Re: Extend ext3 on-disk structure (inode&superblock), s_uuid

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

 



Harsha Srinath wrote:
I'm currently trying to understand how the ext3 on-disk inode works.
How is it filled ? Read/Written ?

I would say look at the fuctions in ../fs/ext3/. You could do a grep on the ext3 inode struct and see where its being updated(this would find loads of places and so I think looking at the functions would be a better approach).


And you can probably start with inode.c

 How add a new attribute to it.

I'll be *very* pleased if I could add a 32-bit field (at least, or better a 64-bits field).

As of now its a fixed 128 bit data type. So the only way you can squeeze some data would be to comment some lines that are not important(maybe like support for HURD OS).


Harsha Srinath


-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux