REF add note about udisks

This commit is contained in:
Nathan Dwarshuis 2020-07-10 18:48:20 -04:00
parent c89bae26c1
commit 9f91b1939c
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@ removedHasDrive _ = False
playSoundMaybe :: FilePath -> Bool -> IO () playSoundMaybe :: FilePath -> Bool -> IO ()
playSoundMaybe p b = when b $ spawnSound p playSoundMaybe p b = when b $ spawnSound p
-- NOTE: the udisks2 service should be already running for this module to work.
-- If it not already, we won't see any signals from the dbus until it is
-- started (it will work after it is started however). It seems safe to simply
-- enable the udisks2 service at boot; however this is not default behavior.
runRemovableMon :: IO () runRemovableMon :: IO ()
runRemovableMon = do runRemovableMon = do
client <- connectSystem client <- connectSystem