MultiDrive – free backup, clone & wipe disk utility from Atola Technology

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Read_long
PostPosted: October 17th, 2011, 20:24 
Offline

Joined: October 2nd, 2011, 17:49
Posts: 6
Location: United States
Does anyone know of a tool that sends a read_long command to a drive? Or the c code that would do that?


Top
 Profile  
 
 Post subject: Re: Read_long
PostPosted: October 17th, 2011, 20:48 
Offline

Joined: January 15th, 2008, 11:06
Posts: 1419
Location: Providence, RI. Boston, MA USA
What are you trying to achieve?

_________________
www.datarecoveryne.com


Top
 Profile  
 
 Post subject: Re: Read_long
PostPosted: October 17th, 2011, 20:54 
Offline
User avatar

Joined: September 29th, 2005, 12:02
Posts: 3577
Location: Chicago
read long is an obsolete command.

_________________
SAN, NAS, RAID, Server, and HDD Data Recovery.


Top
 Profile  
 
 Post subject: Re: Read_long
PostPosted: October 17th, 2011, 21:40 
Offline

Joined: October 2nd, 2011, 17:49
Posts: 6
Location: United States
I know read long is an obsolete command. I need to recover data from a sector that was made bad with a write long.


Top
 Profile  
 
 Post subject: Re: Read_long
PostPosted: October 18th, 2011, 10:26 
Offline

Joined: May 6th, 2008, 22:53
Posts: 2138
Location: England
@Cowtippa: There's no information volunteered so far about the h/w & s/w being used (are you deliberately trying not to give away much info?), but here are a few general comments to address those very general questions...
Cowtippa wrote:
Does anyone know of a tool that sends a read_long command to a drive?

I used my own code in the past, so I don't have a recommendation for a tool. If you're looking for one, I suggest you investigate MHDD and its scripting (if your HBA is supported).

Cowtippa wrote:
Or the c code that would do that?

Your answer depends on your chosen OS (and often the specific version of that OS), and the relevant ioctls which it supports - and in some cases, also varies with the HBA being used. If you're stuck for ideas, you might want to look at the work done in the smartmontools code, as they show some related techniques for different OS.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 85 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group