>From Documentation, only MnemoFS has support to it:
https://nuttx.apache.org/docs/latest/components/filesystem/mnemofs.html

I didn't verify the source code for others FS.

Talking about FS, I just found this site with Documentation about NuttX
tmpfs:
https://www.openeuler.org/en/blog/wangshuo/Introduction%20to%20NuttX%20tmpfs/Introduction_to_NuttX_tmpfs

Then searching about NuttX there I discovered about UniProton, that used
the Device Driver model from NuttX (adapted)
https://docs.openeuler.org/en/docs/24.03_LTS_SP2/embedded/uniproton/uniproton_functions.html

BR,

Alan

On Tue, Sep 23, 2025 at 5:13 PM Gregory Nutt <[email protected]> wrote:

> I don't think most of the file systems implement file timestamps either
> (unless that has changed).
>
>
> On 9/23/25 13:47, Tim Hardisty wrote:
> > Thanks Alan - that explains why ls -l doesn't show the timestamps.
> >
> > So I still need to find out why the LittleFS files don't have a
> > timestamp.
> >
> > On 23/09/2025 20:15, Alan C. Assis wrote:
> >> 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