[PATCH 0/9] fs: add change date to ls output
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Mon May 18 07:57:19 CEST 2026
The ls command currently only displays the size and name of files and
directories.
* Add the change date to the output on FAT and ext2/3/4.
* Use the actual date when updating the change date in ext2/3/4
file-systems.
Heinrich Schuchardt (9):
fs: move struct fstype_info definition to top of file
fs: print change date in directory listing for FAT
fs: ext4: print change date in directory listing
fs: ext4: don't read time fields in XPL
fs: ext4: set inode timestamps on write
test: Probe RTC early in dm_test_host()
test: fs: allow optional date field in ls output assertion
test: env: allow optional date field in ls output assertion
test: test_erofs: adjust expected ls output
fs/ext4/ext4_write.c | 41 ++++++++-
fs/ext4/ext4fs.c | 8 +-
fs/fat/fat.c | 2 +-
fs/fs.c | 127 ++++++++++++++++++----------
test/dm/host.c | 13 +++
test/py/tests/test_env.py | 2 +-
test/py/tests/test_fs/test_basic.py | 4 +-
test/py/tests/test_fs/test_erofs.py | 8 +-
8 files changed, 146 insertions(+), 59 deletions(-)
--
2.53.0
More information about the U-Boot
mailing list