[PATCH 0/9] fs: add change date to ls output
Tom Rini
trini at konsulko.com
Tue May 19 15:55:56 CEST 2026
On Tue, May 19, 2026 at 09:25:37AM +0200, Heinrich Schuchardt wrote:
> On 5/18/26 20:15, Tom Rini wrote:
> > On Mon, May 18, 2026 at 07:57:19AM +0200, Heinrich Schuchardt wrote:
> >
> > > 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.
> >
> > What's the motivation for this change, and how much of a size impact
> > does this have in general?
> >
>
> For qemu_arm64_defconfig fs/fs.o shows a growth of 260 bytes in .text and
> .data sections.
OK, can you please use something like
https://source.denx.de/u-boot/u-boot-extras/-/blob/master/contrib/trini/u-boot-size-test.sh?ref_type=heads
for the whole board?
> Change times let users immediately spot which files were modified most
> recently (kernel images, device trees).
>
> If a device stops booting, seeing a file’s change date helps determine
> whether a recent change could be the cause.
Yes, that is useful and more user friendly than hashing a file. But I do
worry about global size growth.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260519/e82a9fbc/attachment.sig>
More information about the U-Boot
mailing list