diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-27 23:44:06 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-27 23:44:12 +0200 |
| commit | 13f302149a2a2846d801689e3d194af3249ed0b7 (patch) | |
| tree | 389f698ed41942a554c581659d317ce765ee7b5d /src/lib/cross_linux.cc | |
| parent | 0b94724919f01edc7fc91e899ef179a7d94da039 (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_linux.cc')
| -rw-r--r-- | src/lib/cross_linux.cc | 7 |
1 files changed, 7 insertions, 0 deletions
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 () { |
