Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It would be nice to be able to remount devices #72

Open
jkozak opened this issue Oct 23, 2016 · 1 comment
Open

It would be nice to be able to remount devices #72

jkozak opened this issue Oct 23, 2016 · 1 comment

Comments

@jkozak
Copy link

jkozak commented Oct 23, 2016

For example to change read-only status.

but things like:

udevil mount -oremount,ro /media/blah

don't work

@IgnorantGuru
Copy link
Owner

udevil does handle remount (except for mounted ISO files, ftp, sshfs). Being an suid program it is very particular about the usage. You need a space after -o and it seems you need to specify the device, not the mount point.

udevil mount /dev/sdc1
udevil mount -o remount,ro /dev/sdc1
udevil umount /dev/sdc1

Not being able to specify the mount point may be a bug - not sure if that limitation was intentional or not. The error it gives seems to be wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants