LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 03-07-2009, 01:10 PM   #1
jtmoon
LQ Newbie
 
Registered: Jun 2006
Location: WA, USA
Distribution: Fedora Core 10
Posts: 15

Rep: Reputation: 5
Question how do I find names of files affected by fsck ?


Hi,

I would like to know the names of files affected by fsck.ext3 .
It seems like this is an important feature entirely missing from fsck.

Currently, the only information fsck shows is block numbers and inode numbers.

Is there a way to find out file names affected by an fsck repair (specifically fsck.ext3)?
Is there a different program that can lookup block numbers to file names?


-J_Tom_Moon_79


btw, this is also posted here: http://forums.fedoraforum.org/showthread.php?t=216053

Last edited by jtmoon; 03-07-2009 at 01:28 PM. Reason: add link to dup posting on fedoraforum.org
 
Old 03-07-2009, 01:32 PM   #2
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
fsck has a number of options. See man fsck for the full details, but perhaps you need to use the -V option, and maybe tee or redirect the output to a logfile.

If you have already run fsck without these options, the repairs will have already been made, as best fsck can (and it's pretty robust in my experience).
 
Old 03-07-2009, 03:09 PM   #3
jtmoon
LQ Newbie
 
Registered: Jun 2006
Location: WA, USA
Distribution: Fedora Core 10
Posts: 15

Original Poster
Rep: Reputation: 5
I looked at command line options in 'man fsck' and 'man fsck.ext3'.
I have tested the verbose option.
-v (lowercase) for verbose, does not print any file name information.

Last edited by jtmoon; 03-07-2009 at 03:11 PM.
 
Old 03-08-2009, 05:44 AM   #4
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
ls -i file or stat file will give you the inode of the file and find -inum number will find filenames associated with that inode.
 
  


Reply

Tags
ext3, fsck, fsckext3


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
A quick way to find out module names? fasta Linux - Hardware 12 12-23-2006 01:55 AM
Find out module names fasta Debian 2 12-14-2006 10:33 AM
How to find out my scsi dev names? Thaidog Linux - Newbie 3 08-31-2004 04:18 AM
SAMBA: display of share names is OK but files names are wrong superandrzej Linux - Software 5 02-02-2004 09:14 AM
how to find volume names for CD? sanglih Linux - Software 0 06-24-2002 11:57 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration