Re: Low level hard drive reading

2009-04-02 Thread Grant Edwards
On 2009-04-02, Gabriel wrote: > For example can i open disk image file and read it block by > block? Sure. Just open the file, seek to where you want and read it. Or, it'll probably be simpler to just mmap the file and then grab blocks using slices as indexes. -- Grant Edwards

Re: Low level hard drive reading

2009-04-02 Thread Kushal Kumaran
On Thu, 02 Apr 2009 13:36:24 +0200 Gabriel wrote: > Hello, > I have to write linux application that will analyze disk/partition > (ext3 filesystem) on really low level. It has to find/analyze files > on the disk by reading disk blocks to analyze file's headers to find > out file type and then bl

Re: Low level hard drive reading

2009-04-02 Thread Jeremiah Dodds
On Thu, Apr 2, 2009 at 12:36 PM, Gabriel wrote: > Hello, > I have to write linux application that will analyze disk/partition (ext3 > filesystem) on really low level. It has to find/analyze files on the disk by > reading disk blocks to analyze file's headers to find out file type and > then bloc

Low level hard drive reading

2009-04-02 Thread Gabriel
Hello, I have to write linux application that will analyze disk/partition (ext3 filesystem) on really low level. It has to find/analyze files on the disk by reading disk blocks to analyze file's headers to find out file type and then blocks related to file to get file content. The second par