From 13f302149a2a2846d801689e3d194af3249ed0b7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 27 Apr 2020 23:44:06 +0200 Subject: Experimental use of /dev/rdisk rather than /dev/disk on macOS, as there is some suggestion it is faster. --- src/lib/cross_linux.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib/cross_linux.cc') diff --git a/src/lib/cross_linux.cc b/src/lib/cross_linux.cc index 36683a0cd..983dbb669 100644 --- a/src/lib/cross_linux.cc +++ b/src/lib/cross_linux.cc @@ -344,6 +344,13 @@ Drive::unmount () } +string +Drive::device_for_write () const +{ + return device (); +} + + void unprivileged () { -- cgit v1.2.3