Hi Tim,

AFAIK the LS command on NuttX never displayed the date/timestamp.

Probably it needs to be implemented at apps/nshlib/nsh_fscmds.c in the
ls_handler() function.

I just opened an issue about it:
https://github.com/apache/nuttx/issues/17063

Other similar missing feature is the multi user support to control file
access:
https://github.com/apache/nuttx/issues/10896

BR,

Alan

On Tue, Sep 23, 2025 at 12:26 PM Tim Hardisty <[email protected]>
wrote:

> I send syslog output to an MTD formatted with LittleFS. The syslog
> output itself has correct timestamps from my board's RTC, but I must be
> doing something dumb either with NuttX or LittleFS as the syslog file
> itself has a default timestamp of 21st January 1970 regardless of when a
> new file is created.
>
> And an 'ls -l' at NSH doesn't show timestamps either?
>
> Can someone advise? I'm sure I'm not doing something REALLY obvious!!
>
> PS - same is true of a LittleFS formatted EEPROM device too, and also
> for a FAT formatted ramdisk...
>
>

Reply via email to