LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-01-2012, 01:16 PM   #1
jebwalid
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
Unhappy EXT4 and Extent question please Help me!!!


Hi there,
I have a problem with Unix kernel programming. I have to write a program who should output the whole information the EXT4 extents contain. I have found many tutorial and information about how the EXT4 filesystem is working. Also There ar many information about the EXT4 structure but I could not find any information about how can I access the inode structure and get the whole contents of the extents.
The code which I have to write should be an userpspace program. The program have to use kernel space headers, so I think some trouble come out when I am using kernel space headers. Maybe its needed some module packages or some patches, but what packages and patches its needed, I dont know. I am new in kernel programming, if any one out there, who can help me, it would be very greate.
 
Old 02-15-2012, 04:39 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
Lightbulb

I am not clear as to what information you are looking for but tune2fs , fdisk and df gives you many different data points around the hard disk statusses.

If this is not what you a re lookibg for I would suggest listing your objective and some of the key data points you require.
 
Old 02-15-2012, 02:59 PM   #3
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
You can write a small kernel program to copy inode content in kernel space to user space.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it safe to format USB flash to ext4 or ext4? joham34 Linux - Newbie 2 01-08-2011 11:58 AM
ext4 journal, question about levels Mr. Alex Linux - Hardware 2 09-05-2010 01:05 PM
EXT4 internal format question outside2010 Linux - General 1 03-17-2010 03:59 AM
Slack64-current: X questions, Ext4 question GrapefruiTgirl Slackware 8 07-21-2009 09:05 AM
Question on ext3 => ext4 conversion in Jaunty WillingToLikeLinux Ubuntu 2 05-28-2009 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration