Skip to content

Mount flash drives based on usb port #40

@johnnyman727

Description

@johnnyman727

Currently, flash drives are mounted to a path based on the order in which they are plugged in. The first one plugged in gets /mnt/sda1 and the second gets /mnt/sdb1 - it doesn't matter which port they are plugged into. However, when the Tessel is booted, it loads the top port first so if you initially plugged in the first flash drive into the bottom port and then plugged another drive into the top, they will have their paths switched and your fs.readFile will very wrong. We can get around this by assigning paths to usb ports.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions