as there is some suggestion it is faster.
+ std::string device_for_write () const;
+
bool mounted () const {
return !_mount_points.empty();
}
bool mounted () const {
return !_mount_points.empty();
}
+string
+Drive::device_for_write () const
+{
+ return device ();
+}
+
+
+
+string
+Drive::device_for_write () const
+{
+ string w = _device;
+ boost::replace_all (w, "/dev/disk", "/dev/rdisk");
+ return w;
+}
+
+
boost::filesystem::path
config_path ()
{
boost::filesystem::path
config_path ()
{
+string
+Drive::device_for_write () const
+{
+ return device ();
+}
+
+
boost::filesystem::path
config_path ()
{
boost::filesystem::path
config_path ()
{