On Mon, Sep 14, 2015 at 1:46 AM, Andrei Borzenkov <[email protected]>
wrote:

>
> Not sure I understand the question. Device names are obviously platform
> specific. On Windows raw devices are indeed named like above. Could you
> please give example of what you are trying to do?
>

For example, if grub-fstest is compiled with MinGW32 and used on cmd,
*‘grub-fstest.exe
C:\dumpfile ls /'* or *'grub-fstest.exe
\\.\GLOBALROOT\Device\Harddisk0\Partition1* *ls /'* can't work.
I have created a patch for it to use grub-fstest on Windows. Commands above
work well with this patch.
But I notice that the *if* statement I have patched aimed to check whether
the *file_name* was a blocklist or not. I think that the name of a
blocklist has a special format, why not just check for it?

Attachment: 0001-Add-check-when-store-disk-cache.patch
Description: Binary data

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to