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

Heinrich Schuchardt <[email protected]>
Newsgroups org.ozlabs.lists.linux-erofs,org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
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.

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.

Best regards

Heinrich
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.