<calebccff>
xypron: that looks about right! thanks for submitting a patch for this. I'll try it out :D
prabhakalad has joined #u-boot
<LeSpocky>
hello
<LeSpocky>
just came across a strange thing with redundand env in (raw) nand
<LeSpocky>
but I think I have to look deeper into it again
alpernebbi has joined #u-boot
alpernebbi has joined #u-boot
alpernebbi has quit []
alpernebbi has joined #u-boot
alpernebbi has joined #u-boot
alpernebbi has quit []
alpernebbi has joined #u-boot
hsv_ is now known as hsv
Clamor has quit [Ping timeout: 264 seconds]
Clamor has joined #u-boot
monstr has quit [Ping timeout: 252 seconds]
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
monstr has joined #u-boot
Dr_Who has quit [Read error: Connection reset by peer]
vfazio_ has joined #u-boot
vfazio has quit [Ping timeout: 252 seconds]
<xypron>
calebccff: What fs_get_size() should return for a dictionary is hard to say. I guess the remaining issue needs to be fixed in EFI. Which service is systemd calling to get the size?
<xypron>
calebccff: In EDK II EFI_FILE_PROTOCOL.GetInfo() via FatGetDirEntInfo() returns the size of the directory on disk.
<calebccff>
the issue is that efi_file_getinfo() fails with status 7
<calebccff>
i followed this and i'm pretty sure it's because that codepath winds up calling info fs_get_size() which fails because ext4fs doesn't expect you to do that for a directory
ikarso has quit [Quit: Connection closed for inactivity]
<xypron>
calebccff: Yes it does. We probably need to adjust the ext4_open code to return the size of directories. What I really find tricky in the ext4 code is that ext4fs_iterate_dir() makes allocations and we should take care to avoid memory leaks. The current code for ext4fs_exists() and ext4fs_size() is leaky.
<xypron>
calebccff: We should also test soft links.