[haiku-commits] Re: r40736 - in haiku/trunk/src/add-ons/mail_daemon/inbound_protocols/imap: . imap_lib

  • From: Clemens <clemens.zeidler@xxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 02 Mar 2011 16:18:52 +1300

On Wed, 02 Mar 2011 03:36:01 +1300, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:

Does it also handle the case when a app want to open an arbitrary file
without knowing anything about "IMAP FS user@xxxxxxxx"?
Why would some app do that? At some point someone has to know what to mount where. If that is supposed to persistent it could be done via auto-mounting.
Unfortunately, at least ATM, that wouldn't work particularly well with

How does auto mounting works exactly? Does it blocks in the boot script till everything is mounted?

I had the case in mind that mounting a lot of "service"-fs may takes a significant amount of time and it should be done asynchronously.

Imagine this: For some stupid reason you opened a mail in StyleEdit. Because you also have some kind of session manager StyleEdit attempt to open the mail after a reboot. StyleEdit does not know about imap service at all. Because the imap-fs is mounted asynchronously the mail is not there and StyleEdit throws an error. Think this asynchronous case can only be handled with a lazy mount (?)

On the other side I don't know if it is the best user experience when StyleEdit hangs for several time till imap-fs is mounted...


Other related posts: