[U-Boot] [PATCH v2 4/5] sandbox/fs: Set correct filetype for unknown filetype

Simon Glass sjg at chromium.org
Tue Oct 11 02:29:52 CEST 2016


On 4 October 2016 at 13:46, Stefan Brüns <stefan.bruens at rwth-aachen.de> wrote:
> The "hostfs ls" command prefixes each directory entry with either DIR,
> LNK or "   " if it is a directory, symlink resp. regular file, or
> "???" for any other or unknown type.
> The latter only works if the type is set correctly, as the entry defaults
> to OS_FILET_REG and e.g. socket files show up as regular files.
>
> Signed-off-by: Stefan Brüns <stefan.bruens at rwth-aachen.de>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
>  arch/sandbox/cpu/os.c | 2 ++
>  1 file changed, 2 insertions(+)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list