LinuxQuestions.org
Help answer threads with 0 replies.
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 03-07-2009, 01:10 PM   #1
jtmoon
LQ Newbie
 
Registered: Jun 2006
Location: WA, USA
Distribution: Fedora Core 10
Posts: 16

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
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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: 16

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
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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



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

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

All times are GMT -5. The time now is 06:48 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