18.09.2015 03:52, Arch Stack пишет:
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.
Why it "can't work"?
I have created a patch for it to use grub-fstest on Windows. Commands above
work well with this patch.
The patch is wrong. GRUB kernel does not know anything about host device
names. You need to check why host driver fails to open device name.
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?
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub