summaryrefslogtreecommitdiff
path: root/src/lib/cross.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-27 23:44:06 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-27 23:44:12 +0200
commit13f302149a2a2846d801689e3d194af3249ed0b7 (patch)
tree389f698ed41942a554c581659d317ce765ee7b5d /src/lib/cross.h
parent0b94724919f01edc7fc91e899ef179a7d94da039 (diff)
Experimental use of /dev/rdisk rather than /dev/disk on macOS,
as there is some suggestion it is faster.
Diffstat (limited to 'src/lib/cross.h')
-rw-r--r--src/lib/cross.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/cross.h b/src/lib/cross.h
index 114581269..d8296e217 100644
--- a/src/lib/cross.h
+++ b/src/lib/cross.h
@@ -117,6 +117,8 @@ public:
return _device;
}
+ std::string device_for_write () const;
+
bool mounted () const {
return !_mount_points.empty();
}