public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/6] add support for renaming to EFI_FILE_PROTOCOL.SetInfo()
@ 2025-01-22  5:32 Gabriel Dalimonte
  2025-01-22  5:32 ` [PATCH 1/6] fs: fat: factor out dentry link create/delete Gabriel Dalimonte
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Gabriel Dalimonte @ 2025-01-22  5:32 UTC (permalink / raw)
  To: u-boot
  Cc: Gabriel Dalimonte, Baruch Siach, Heinrich Schuchardt,
	Ilias Apalodimas, Marek Vasut, Mattijs Korpershoek, Nam Cao,
	Richard Weinberger, Simon Glass, Sughosh Ganu, Tom Rini

This series adds support for file renaming to EFI_FILE_PROTOCOL.SetInfo().
One of the use cases for renaming in EFI is to facilitate boot loader
boot counting.

No existing filesystems in U-Boot currently include file renaming,
resulting in support for renaming at the filesystem level and a
concrete implementation for the FAT filesystem.


Gabriel Dalimonte (6):
  fs: fat: factor out dentry link create/delete
  fs: add rename infrastructure
  fs: fat: add rename
  fs: fat: update parent dirs metadata on rename
  efi_loader: move path out of file_handle
  efi_loader: support file rename in SetInfo()

 cmd/fat.c                               |  14 +
 fs/fat/fat_write.c                      | 448 +++++++++++++++++++++---
 fs/fs.c                                 |  48 +++
 include/fat.h                           |   1 +
 include/fs.h                            |  13 +
 lib/efi_loader/efi_file.c               |  61 +++-
 test/py/tests/test_fs/conftest.py       | 121 +++++++
 test/py/tests/test_fs/fstest_helpers.py |   2 +
 test/py/tests/test_fs/test_rename.py    | 366 +++++++++++++++++++
 9 files changed, 1009 insertions(+), 65 deletions(-)
 create mode 100644 test/py/tests/test_fs/test_rename.py

-- 
2.34.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-02-04 12:54 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-22  5:32 [PATCH 0/6] add support for renaming to EFI_FILE_PROTOCOL.SetInfo() Gabriel Dalimonte
2025-01-22  5:32 ` [PATCH 1/6] fs: fat: factor out dentry link create/delete Gabriel Dalimonte
2025-01-22  7:08   ` Heinrich Schuchardt
2025-01-26  4:34     ` Gabriel D'Alimonte
2025-01-22  5:32 ` [PATCH 2/6] fs: add rename infrastructure Gabriel Dalimonte
2025-01-22  8:10   ` Heinrich Schuchardt
2025-01-22  9:18     ` Heinrich Schuchardt
2025-01-26  4:38       ` Gabriel D'Alimonte
2025-01-22  5:32 ` [PATCH 3/6] fs: fat: add rename Gabriel Dalimonte
2025-01-22  8:41   ` Heinrich Schuchardt
2025-01-22  5:32 ` [PATCH 4/6] fs: fat: update parent dirs metadata on rename Gabriel Dalimonte
2025-01-22  9:00   ` Heinrich Schuchardt
2025-01-26  4:39     ` Gabriel D'Alimonte
2025-01-22  5:32 ` [PATCH 5/6] efi_loader: move path out of file_handle Gabriel Dalimonte
2025-01-22  5:32 ` [PATCH 6/6] efi_loader: support file rename in SetInfo() Gabriel Dalimonte
2025-02-04 12:53   ` Ilias Apalodimas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox