Discussion:
Invoke set_disk_ro() from user space
Yegor Yefremov
2014-08-26 09:58:28 UTC
Permalink
I'd like to remove write protection from a device. hdparm has
following command "hdparm -r0 device", but aside from reporting the
state, it does nothing. If you have a buggy hardware the only option
is to recompile the kernel and not invoking set_disk_ro(,1). Is there
any other option?

Yegor
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Continue reading on narkive:
Search results for 'Invoke set_disk_ro() from user space' (Questions and Answers)
174
replies
Can God be scientifically disproven?
started 2015-06-04 12:08:23 UTC
religion & spirituality
Loading...