Skip to content

inform user when not running as root #6

@landroni

Description

@landroni

I tried to run flashbench 62 (for Ubuntu repos) as user, only for it to fail with a cryptic error message:

geek@liv-inspiron:~$ flashbench -a /dev/sdb 
sched_setscheduler: Operation not permitted
/dev/sdb: Operation not permitted

Then I attempted as root, and it worked OK.

It would be nice if flashbench inform user that it only works as root.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions