I wanted to read MBR data from USB plugged in to Raspberry Pi and modify first few bytes of it.
I was able to perform the same, with CreateFile, LOCK disk , ReadFile, Modify and writefile on the other Windows10 machines.
However, I face problems doing the same on raspberry Pi.
I do CreateFile based on drive letter. (\\.\<DriveLetter> ). But CreateFile with drive letter on Raspberry Pi fails.
Any help here will be highly appreciated.