mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01: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:
committed by
Christian Helmuth
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);
|
||||
|
||||
Reference in New Issue
Block a user