diff options
Diffstat (limited to 'src/lib/cross_osx.cc')
| -rw-r--r-- | src/lib/cross_osx.cc | 10 |
1 files changed, 10 insertions, 0 deletions
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 () { |
