On 03/13/2011 03:50 PM, Robert P. J. Day wrote:
On Sun, 13 Mar 2011, Matt Willsher wrote:



On 13 March 2011 20:30, Robert P. J. Day<[email protected]>  wrote:
        as part of my sys admin course this week, i'd like to show the
       students the actual header file that displays the structure of the
       ext4 filesystem (inode, superblock, that sort of thing).  but i'm
       not
       sure where that header file is.

        i have the kernel-devel and kernel-headers packages installed and
       i
       would have assumed the file (or files) would be somewhere under
       /usr/include/{linux,sys} but i'm just not seeing it.  help?


It seems to be called ext4.h. Does  find /usr/include -name ext4.h
-print find it?

   i'm just reinstalling in prep for class so i'll check it as soon as
my system is up again.  i swear i searched for the pattern *ext4*, so
let's see if it's different this time.  thanks.

rday



For SL6

# locate ext4.h
/usr/src/kernels/2.6.32-71.14.1.el6.x86_64/include/trace/events/ext4.h
/usr/src/kernels/2.6.32-71.18.2.el6.x86_64/include/trace/events/ext4.h
/usr/src/kernels/2.6.32-71.el6.x86_64/include/trace/events/ext4.h
# rpm -qf /usr/src/kernels/2.6.32-71.18.2.el6.x86_64/include/trace/events/ext4.h
kernel-devel-2.6.32-71.18.2.el6.x86_64
#

Troy
--
__________________________________________________
Troy Dawson  [email protected]  (630)840-6468
Fermilab  ComputingDivision/SCF/FEF/SLSMS Group
__________________________________________________

Reply via email to