projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Experimental use of /dev/rdisk rather than /dev/disk on macOS,
[dcpomatic.git]
/
src
/
lib
/
cross_osx.cc
diff --git
a/src/lib/cross_osx.cc
b/src/lib/cross_osx.cc
index 6e8ef168c2c9bd84abdb1ee8ae46e9433438929e..66be376d4cc7264d26d76a8a62a7bb406f207668 100644
(file)
--- a/
src/lib/cross_osx.cc
+++ b/
src/lib/cross_osx.cc
@@
-493,6
+493,16
@@
Drive::get ()
return drives;
}
+
+string
+Drive::device_for_write () const
+{
+ string w = _device;
+ boost::replace_all (w, "/dev/disk", "/dev/rdisk");
+ return w;
+}
+
+
boost::filesystem::path
config_path ()
{