Menu

Weird things with ddru_ntfsfindbad (or with me??)

olegkrutov
2015-03-11
2015-03-12
  • olegkrutov

    olegkrutov - 2015-03-11

    Hello,

    I've noticed something strange. Here I'll post an attach which contains a MFT, NTFS boot record, ntfsfindbad.log, ntfsfindbad_debug.log. What is strange there: take a look at ntfsfindbad.log about record #9980 --a FILE of XLS type. According to ntfsfindbad_debug.log, an error is located in attribute 0xA0. But XLS file is not located at record 9980! it is record 9979 and is indeed intact. Record 9980 is a folder and as for I digged it really has an intersection in bad area and attribute 0xA0. So why ddru_ntfsfindbad takes a name from wrong record? I have no idea about that. Maybe you can help me?

     
  • olegkrutov

    olegkrutov - 2015-03-11

    Here is an attach

     
  • maximus57

    maximus57 - 2015-03-12

    I will look at this when I get a chance. Right now I am working on an advanced disk tool that sends direct commands to a disk. I am hoping that sometime in the not too distant future I can do a bit of work on ddrutility and get to properly fixing the attribute issue. But that is what I get for starting a second project.

     
  • olegkrutov

    olegkrutov - 2015-03-12

    Wow, interesting! but that is a headache with chipsets, drivers etc? AFAIR libata doesn't allow sending arbitrary commands to the drive or am I wrong? but what is your goal? I use ddrescue widely and have little problems that can be solved by skipping libata layer -- and to get deeper, say, to get regions by heads or disable background activity, one needs to use vendor-specific commands... It could be nice that modifying ddrescue to add ability to somewhat cooperating with drive power management (some drives get stuck in some cases and it could be nice to send some sort of signal to external utility that throws bytes to hdd's UART -- some drives have one, or sends something to some DIY-hardware power switch. Many drives needed just power cycle to be able to further copying)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.