CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
Reading disk sectors

 



blindmonkey
New User

Feb 13, 2008, 6:25 AM

Post #1 of 1 (955 views)
Reading disk sectors Can't Post

Hi, I'm looking for help writing a program that can read/write a disk one sector at a time. I'm working with a Windows system, and the final project aims to copy the entirety of a flash drive (along with all the partition information) to a file, and back. So, if there is any difference in accessing a flash drive, as opposed to a hard drive, could someone please inform me of how to read from a flash drive instead. I don't mind using modules, as long as they're Win32 compatible (I looked into using the Device::USB module, but alas it's not compatible with Windows). Any sort of help, even pointing me in the right direction is greatly appreciated.

Also, if it turns out that doing this in Perl is impossible, could someone point me to instructions on how to do it in C/C++ or Java. (I already tried using absread from dos.h, and it appears the Visual C++ does not have that function in dos.h. I've also tried using biosdisk from bios.h, but Visual C++ does not provide bios.h.)

Again, any help is greatly appreciated, even if it is just saying that it's impossible.

Thanks in advance to all who help.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives