X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fcross_osx.cc;h=66be376d4cc7264d26d76a8a62a7bb406f207668;hp=6e8ef168c2c9bd84abdb1ee8ae46e9433438929e;hb=13f302149a2a2846d801689e3d194af3249ed0b7;hpb=0b94724919f01edc7fc91e899ef179a7d94da039 diff --git a/src/lib/cross_osx.cc b/src/lib/cross_osx.cc index 6e8ef168c..66be376d4 100644 --- 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 () {