Skip to content

Code is reloaded when there is no write #7572

@Roming22

Description

@Roming22

CircuitPython version

Adafruit CircuitPython 8.0.0 on 2023-02-06; SparkFun Pro Micro RP2040 with rp2040
Board ID:sparkfun_pro_micro_rp2040

Code/REPL

> sudo fatrace -c
md5sum(141934): RO /run/media/user/KEYBOARD-L/code.py
md5sum(141934): C /run/media/user/KEYBOARD-L/code.py

Behavior

Code stopped by auto-reload. Reloading soon.

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.

Description

No response

Additional information

I'm running on the Fedora 37 version.

Doing find | LC_ALL=C sort | cpio -o | md5sum on the CP drive before and after the reload shows the same checksum, showing that no files were modified.

There is a 0.5KB change in the iostat output, showing that maybe the OS tried to update metadata file (e.g. last accessed data). If that's true, since the filesystem does not support that attribute, nothing has actually been written to disk even though a write action was performed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions