Skip to content

Very early code.py remounts go through, even though they should not. #6920

@bill88t

Description

@bill88t

CircuitPython version

Adafruit CircuitPython 8.0.0-beta.0-41-g33a100611 on 2022-09-10; Waveshare ESP32-S2-Pico with ESP32S2

Code/REPL

import storage
storage.remount("/", False)

Behavior

It goes through, even though there is no boot.py disabling usb access.
This results to the usb access being read only.

Description

It should raise RuntimeError.
It does not.

Additional information

If sleep till usb inits fully, it RuntimeError's just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions