LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-28-2011, 04:19 AM   #1
alephan
Member
 
Registered: Dec 2010
Location: Bucharest
Distribution: ubuntu
Posts: 45

Rep: Reputation: 0
Question Find blocks of an inode


I cand see the inode number of a file by running
ls -i <file>

How can i see the blocks where this inode points to? I'm talking about a yaffs2 partition.

Last edited by alephan; 01-28-2011 at 04:40 AM.
 
Old 01-29-2011, 02:16 PM   #2
14moose
Member
 
Registered: May 2010
Posts: 83

Rep: Reputation: Disabled
Hi -

There's seldom (if ever?) a need to poke through a filesystem at the block level.

But - Linux being Linux - if you can conceive of it, there's probably a way to do it

Try looking up "debugfs". It may (or may not) be what you're looking for.
 
Old 01-29-2011, 03:33 PM   #3
alephan
Member
 
Registered: Dec 2010
Location: Bucharest
Distribution: ubuntu
Posts: 45

Original Poster
Rep: Reputation: 0
Linux as being linux, has the unbeatable advantage to know that there's always an answer. You just have to dig for it.

Debugfs outputs seg. fault on a yaffs2 partition. Tried already.
 
Old 02-04-2011, 02:43 AM   #4
alephan
Member
 
Registered: Dec 2010
Location: Bucharest
Distribution: ubuntu
Posts: 45

Original Poster
Rep: Reputation: 0
Nothing else?
 
  


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
can't find bad blocks list neuplnost Linux - General 3 12-18-2010 11:16 AM
Given an IP, how to find other IP blocks of the same owner Ulysses_ Linux - Networking 6 09-14-2009 04:41 AM
given a file, how to find last access time using the inode structrure linuxdoniv Programming 1 07-16-2008 06:33 AM
Find the inode number PankajDS Linux - Kernel 3 03-15-2008 11:26 AM
How can I format my ext3 partition to use 1024 byte blocks and 1 inode per block? abefroman Linux - Hardware 1 11-26-2005 11:01 PM

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

All times are GMT -5. The time now is 12:36 AM.

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