The ".." is the parent directory, but the root directory can't have a
parent directory. The shell is correct when is says "File not found". You
have to make sure that the Read() for your root directory does not return
".." when enumerating the directory contents.
On Tue, Apr 15, 2014 at 10:12 AM, cod <[email protected]> wrote:
> Hi everyone,
>
> I'm trying to add a new file system into EDK2 but I have a problem with
> uefi shell integration...
>
> when I run ls command on root directory I receive a request to open
> filename "."
> and an invokation of GetInfo function with type = EFI_FILE_INFO for the
> new handle giving back into EFI_FILE_SYSTEM_INFO structure the attribute
> the EFI_FILE_DIRECTORY.
>
> The next call to Open function have filename ".." where I return
> EFI_NOT_FOUND according to UEFI specification .. but after this request
> UEFI shell write a generic "File not found" on screen.
>
> what am I doing wrong?
>
> thanks
> cod
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel