Re: [PATCH 0/9] fs: add change date to ls output

Tom Rini <[email protected]>
Newsgroups org.ozlabs.lists.linux-erofs,org.u-boot-project.lists.u-boot
Message-ID <20260519135556.GX1858239@bill-the-cat>
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
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQTzzqh0PWDgGS+bTHor4qD1Cr/kCgUCagxr5QAKCRAr4qD1Cr/k
CvOTAQDvzng/P1d539wOJvnf7WoIM+Lt/y+SFSuc7GiqtRGbDwEAjqkyjbWh6gxj
FQKb6J9Iq46vS4YM40o0+NBfCeydcQI=
=rC3d
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.