Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Linux, I'd like to know how to find the file(s) if any which as using a particular sector on the hard drive (ext2/3). There is a similar question here regarding Windows, however I need a Linux command line solution (this is a headless system).

share|improve this question
similar question:… – neutrinus Sep 22 '15 at 21:39
up vote 5 down vote accepted

The short answer is that you need to use debugfs. The long answer, found here, is that first you have to map the disk location to the filesystem location. By the way, you didn't say if your filesystem is ext2/3 or something else. The link is for ext2/3.

share|improve this answer
Thanks, just what I was looking for. The filesystem is ext3 (I updated my original question). – MT. Apr 27 '10 at 15:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.