Skip to content

Can mount a filesystem with the same name as an existing file or directory #933

@dhalbert

Description

@dhalbert

Mounting a filesystem does not check for name conflicts. For example, if there's a file or directory named /sd, you can still mount an SD card as sd. os.listdir('/') then shows two instances of sd`, and the filesystem can become corrupted easily.

Thanks @deshipu for passing this on from a user.

Metadata

Metadata

Assignees

Labels

No labels
No 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