as there is some suggestion it is faster.
return _device;
}
+ std::string device_for_write () const;
+
bool mounted () const {
return !_mount_points.empty();
}
}
+string
+Drive::device_for_write () const
+{
+ return device ();
+}
+
+
void
unprivileged ()
{
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 ()
{
}
+string
+Drive::device_for_write () const
+{
+ return device ();
+}
+
+
boost::filesystem::path
config_path ()
{