QNX RTOS v4 Knowledge Base
  
QNX RTOS v4 Knowledge Base
  
    
      | 
          
            | Title | Equivalent QNX2 file recovery tools for QNX4 |  
            | Ref. No. | QNX.000009628 |  
            | Category(ies) | Utilities, Filesystem |  
            | Issue | In QNX2, there were some useful file recovery utilities called scan_for_file and relink_file.  The scan_for_file utility would allow you to specify a string or ascii sequence, starting block, etc. and then would start searching the disk drive for an occurrence of this string.  This was particularly useful if you had accidentally removed a file or directory and wanted to try and recover lost data.  The relink_file utility would allow you to create a new file name or specify an existing file to link the newfound data into. 
 Does QNX4 have any utilities, similar to QNX2's scan_for_file, that will let us search un-allocated areas of the disk for specific data?
 
 |  
            | Solution | Yes, there is a tool called disk_raw which may be obtained from our Contributed software section in the path /usr/free/qnx4/os/utils/disk/disk_raw.tgz |  |