From 0898227ea1d39eb2119a3147980fa6b7669ab54a Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski Date: Wed, 28 Jun 2006 11:20:44 +0000 Subject: [PATCH] - deactivated media manager code disabling the automounter --- zypp/media/MediaManager.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zypp/media/MediaManager.cc b/zypp/media/MediaManager.cc index 0bf1cf7..1812932 100644 --- a/zypp/media/MediaManager.cc +++ b/zypp/media/MediaManager.cc @@ -27,6 +27,8 @@ #include #include +#define DISABLE_AUTOMOUNTER 0 + ////////////////////////////////////////////////////////////////////// namespace zypp @@ -141,6 +143,7 @@ namespace zypp using namespace zypp::target::hal; AutoMounterCleanUp cleanup(NONE); +#if DISABLE_AUTOMOUNTER try { HalContext hal(true); @@ -207,6 +210,7 @@ namespace zypp WAR << "Unable to disable HAL volume handling (automounter)" << std::endl; } +#endif // DISABLE_AUTOMOUNTER return cleanup; } @@ -219,6 +223,7 @@ namespace zypp if(cleanup == NONE) return; +#if DISABLE_AUTOMOUNTER try { HalContext hal(true); @@ -254,6 +259,7 @@ namespace zypp WAR << "Unable to restore HAL volume handling (automounter)" << std::endl; } +#endif // DISABLE_AUTOMOUNTER } //////////////////////////////////////////////////////////////// -- 2.7.4