|
From: | Andrei Borzenkov |
Subject: | Re: How to reuse the the part of codes about file system in grub ? |
Date: | Fri, 18 Sep 2015 21:02:52 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
18.09.2015 12:20, Arch Stack пишет:
On Fri, Sep 18, 2015 at 11:59 AM, Andrei Borzenkov <address@hidden> wrote: Why it "can't work"?Because on Linux, all the absolute path start with '/', but on Windows the path may be "C:\dump" or "\\.\GLOBALROOT\Device\Harddisk0\Partition1". They shouldn't be handled as blocklist.
That's right, but it should be restricted to host file access only. Please check if follow up patch works for you.
If I run 'grub-fstest.exe C:\dump ls /' , the error was: 'grub-fstest.exe: error: `loopback' command fails: invalid file name `C:\dump'.'Oops. Apparently you sent completely unrelated patch. Or my mail server is messed up ... I'm very sorry for it.I have sent a wrong patch.I have attached thecorrect patch.
[Prev in Thread] | Current Thread | [Next in Thread] |