Flaviu_
Flaviu_

Reputation: 1371

NTFS signature is missing

I have loaded NTFS-3G from here: https://github.com/vitalif/ntfs-3g into a VS2017 project, wanting to read NTFS USB stick drive. And when I debugging reading process, I saw that is not reading USB drive due to:

// bootsect.c

BOOL ntfs_boot_sector_is_ntfs(NTFS_BOOT_SECTOR* b)
{
    u32 i;
    BOOL ret = FALSE;
    ntfs_log_debug("Beginning bootsector check.\n");

    ntfs_log_debug("Checking OEMid, NTFS signature.\n");
    if (b->oem_id != const_cpu_to_le64(0x202020205346544eULL))  // "NTFS    "
    {
        ntfs_log_error("NTFS signature is missing.\n");        // <-- my code is running here ...
        goto not_ntfs;
    }
...
...

I run it this code on Win10 64bit/VS2017. And my USB stick are valid, I have tried several USB stick (all of them NTFS).

I read that vitalif/ntfs-3g has a OS limitation: Windows XP, ... and Windows 7 file systems ... that is why I suspect the cause of my failing reading process ...

I have seek it on github for another NTFS-3G project that support Win10, I didn't found it ... is there anywhere another version of NTFS-3G library that work on Win10 ? Or, could another cause for my failing ?

Any support will be wellcome, I am struggle for this issue for days and days ...

Upvotes: 0

Views: 324

Answers (0)

Related Questions