michaelogrant / macfusion

Automatically exported from code.google.com/p/macfusion
Other
1 stars 1 forks source link

Unmount on Sleep, Remount on Wake: preference not saved to plist at time of preference; quit and re-launch are required #239

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Mac OS X 10.4.10

MacFusion 1.2 Beta 3 with preference to 
Unmount on Sleep, Remount on Wake

defaults read org.mgorbach.macfusion
suggests that the preference may not be written to
~/Preferences/org.mgorbach.MacFusion.plist

Original issue reported on code.google.com by grahampe...@gmail.com on 30 Aug 2007 at 2:13

GoogleCodeExporter commented 8 years ago
At <http://pastie.textmate.org/92439> I slept my MacBook Pro 
after line 19 -- after mounting omnium-gjp22. 

Then woke the laptop. 

Then mounted gjp22-private (line 20)  
then unmounted omnium-gjp22 (line 22) both manually. 

Original comment by grahampe...@gmail.com on 30 Aug 2007 at 2:19

GoogleCodeExporter commented 8 years ago
This morning (following a restart) I find the following line in the plist: 

    unmountOnSleep = 1; 

and MacFusion has been properly failing to unmount, on sleep, an EncFS volume 
that was busy. 

So, MacFusion _does_ respect the preference to unmount, but presumably only 
after it has been quit then re-
launched. 

Original comment by grahampe...@gmail.com on 31 Aug 2007 at 6:24

GoogleCodeExporter commented 8 years ago
> MacFusion _does_ respect the preference to unmount 

That is reaffirmed by my most recent log, below. 

* omnium-gjp22 is unmounted by MacFusion at sleep time, re-mounted at wake time

* gjp22-private, which was/is in use, remains mounted. 

Let's say, Milestone-Release1.2 on the assumption that this will be fairly easy 
to fix. Akin to MacFusion issue 38, I guess. 

--

MacFusion Core: MacFuse version 0.4.0 detected OK
MacFusion Core: Loaded EncFS filesystem from com.abruptcorrupt.MacFusion.EncFS
MacFusion Core: Loaded FTPFS filesystem from org.mgorbach.MacFusion.FTPFS
MacFusion Core: Loaded SSHFS filesystem from org.mgorbach.MacFusion.SSHFS
gjp22-private: Asking for Password...
gjp22-private: kextload: 
/System/Library/Filesystems/fusefs.fs/Support/fusefs.kext loaded successfully
MacFusion Core: Notification received 
com.google.filesystems.fusefs.unotifications.mounted
MacFusion Core: Notification received 
com.google.filesystems.fusefs.unotifications.inited
gjp22-private: Mount OK
MacFusion Core: Notification received 
com.google.filesystems.fusefs.unotifications.mounted
MacFusion Core: Notification received 
com.google.filesystems.fusefs.unotifications.inited
omnium-gjp22: Mount OK
omnium-gjp22: Unmount OK
MacFusion Core: Notification received 
com.google.filesystems.fusefs.unotifications.mounted
MacFusion Core: Notification received 
com.google.filesystems.fusefs.unotifications.inited
omnium-gjp22: Mount OK

Original comment by grahampe...@gmail.com on 31 Aug 2007 at 6:31

GoogleCodeExporter commented 8 years ago
Something else that should be added; Macfusion should check if the network is up
before attempting to remount, and wait until it is.

Sometimes after waking from sleep it takes some time to get an IP address at 
the new
location.

Original comment by zorinl...@gmail.com on 31 Aug 2007 at 1:10

GoogleCodeExporter commented 8 years ago
This MacFusion issue 239 is focused (preference not saved to plist at time of 
preference).

> ...Macfusion should check if the network is ...

That's a separate issue, 
<http://code.google.com/p/macfusion/issues/detail?id=240>

Original comment by grahampe...@gmail.com on 31 Aug 2007 at 2:29