mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
lx_fs: return host inode value for dir entries
With this patch, bash running in noux becomes able to list the content of directories (via 'echo *') hosted in lx_fs.
This commit is contained in:
parent
fa5de776a6
commit
c51508a47c
@ -202,6 +202,8 @@ class Lx_fs::Directory : public Node
|
||||
return 0;
|
||||
}
|
||||
|
||||
e->inode = dent->d_ino;
|
||||
|
||||
strncpy(e->name, dent->d_name, sizeof(e->name));
|
||||
|
||||
return sizeof(Directory_entry);
|
||||
|
Loading…
x
Reference in New Issue
Block a user