Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

On Windows, defragment tools usually show you a preview of your disk: where the file fragment are placed on disk, where is the free space, where is the places that's not movable, etc.

Is there a similar tool for Linux that can show you similar preview or a more detailed map?

I need such tool for some raw disk hacking.

share|improve this question
Could you elaborate please? What kind of raw disk hacking? Do you need a graphical output? – terdon Oct 6 '12 at 10:40
I look for the something like this:… I don't want to defrag, but want to see that disk map. Probably zoom in if possible. By raw disk hacking I mean view what's actually stored on the disk sectors, how and where does file placed. Probably modify some bytes. – Calmarius Oct 6 '12 at 11:15

In Linux, you'll probably never have a high level of fragmentation, as the filesystem behaves much better than the Windows counterparts.

For a detailed usage map of your disk, you can use kdirstat or fsview that comes integrated in konqueror, a web and file browser.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .