Embedded Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsComputer HardwareEmbedded Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 24th, 2011, 01:36 AM
mahaju mahaju is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Posts: 120 mahaju User rank is Sergeant (500 - 2000 Reputation Level)mahaju User rank is Sergeant (500 - 2000 Reputation Level)mahaju User rank is Sergeant (500 - 2000 Reputation Level)mahaju User rank is Sergeant (500 - 2000 Reputation Level)mahaju User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 2 h 17 m 3 sec
Reputation Power: 20
How to analyze a hard disk byte by byte

Is there any software that will help me view the contents of my disk byte by byte?
Some hex editors allow us to see the files present in a directory and then open the file, then view and/or edit the file byte by byte
So for this to work the OS should know that the sequence of bytes is a file of certain type
and it will show me each and every byte of the file until the end is reached
So for the OS to recognise it as a file there should some kind of header or pointer to the beginning of the file, and some kind of EOF character as well, stored in the hard disk (as per the structure of the file system I guess (?) )
What I wanted to know was is there any software that will let me view these headers and end of file characters as well
So for example, using this software I would be able to see the value of the pointers that determine where a folder starts in the hard drive
So in effect I should be able to see each and every byte of the hard disk, from byte no 0 to byte no whatever the size of the hard disk is
Is there any program that would let me do this?
and perhaps having some extra features as well, such as when it sees a particular pointer structure it knows that it is a folder and shows this fact to us using an icon, or it sees a particular sequence of bytes and knows that it is the MBR and notifies us as such

I hope I was able to explain what kind of program I mean
Thank you very much

Reply With Quote
  #2  
Old October 24th, 2011, 06:56 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Dev Shed God 7th Plane (8000 - 8499 posts)
 
Join Date: Dec 2004
Posts: 8,052 E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 1 Day 5 h 6 m 34 sec
Reputation Power: 7104
I don't know of any such software off the top of my head, but it is possible that some could exist. It could allow you to see exactly what the operating system sees when it reads the disk, although this might not necessarily be the physical contents of the disk drive due to the disk firmware sitting between the physical disk and the motherboard. It is impractical to bypass the disk firmware for modern disks.

The structure of files and directories on the disk is determined by the file system. Modern file systems do not use a "end of file" character, the length of the file is stored in the header.

Quote:
when it sees a particular pointer structure it knows that it is a folder and shows this fact to us using an icon

This is what a file browser like Explorer does.
__________________
PHP FAQ
How to program a basic, secure login system using PHP
Connect with me on LinkedIn


Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
  #3  
Old October 24th, 2011, 08:07 PM
mahaju mahaju is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Posts: 120 mahaju User rank is Sergeant (500 - 2000 Reputation Level)mahaju User rank is Sergeant (500 - 2000 Reputation Level)mahaju User rank is Sergeant (500 - 2000 Reputation Level)mahaju User rank is Sergeant (500 - 2000 Reputation Level)mahaju User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 2 h 17 m 3 sec
Reputation Power: 20
Quote:
Originally Posted by E-Oreo
I don't know of any such software off the top of my head, but it is possible that some could exist. It could allow you to see exactly what the operating system sees when it reads the disk, although this might not necessarily be the physical contents of the disk drive due to the disk firmware sitting between the physical disk and the motherboard. It is impractical to bypass the disk firmware for modern disks.

The structure of files and directories on the disk is determined by the file system. Modern file systems do not use a "end of file" character, the length of the file is stored in the header.


This is what a file browser like Explorer does.


Thank you very much
I found a software called WinHex which allows us to do this in Windows, as well as hexedit for linux. Comparatively, hexedit is quite primitive though

Reply With Quote
Reply

Viewing: Dev Shed ForumsComputer HardwareEmbedded Programming > How to analyze a hard disk byte by byte

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap