[haiku-development] Re: GSOC: IMAP as a Local File System

  • From: anil kag <anilkagak2@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 3 Apr 2012 14:00:14 +0530

On Mon, Apr 2, 2012 at 11:05 PM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:

> Ingo Weinhold wrote:
> > Ingo Weinhold wrote:
> > Mmh, not sure which shortcut combo I managed to press, it definitely
> sent the mail prematurely. :-/
>


> > > As you can see, the parse_parameters() function expects the parameters
> to consist of the client FS name separated by whitespace from the following
> (optional) client FS parameters. This is not driver settings format [1]
> (note: Haiku extends the original format). That the driver settings format
> is used for mount parameters is merely a convention we introduced. BeOS
> didn't and ATM Haiku doesn't care: the string supplied to the mount command
> is just passed through to the FS module. Eventually we might change that
> e.g. to allow passing parameters that the VFS interprets (currently there's
> only a flags array that can be used for that purpose in a limited way).
> That, however, requires all file systems to respect the format.
> > >
> > > ATM solving that TODO in the userlandfs kernel module would add a bit
> of inconvenience, though. Since you'd have to mount via something like:
> > >
> > >   mount -t userlandfs -p "userlandfsClient=<clientFS> ..." ...
> > >
> > > instead of just
>
>   mount -t userlandfs -p "<clientFS> ..." ...
>
> Ideally the TODO should be solved after integrating userlandfs better with
> the system, so that userland client FSs are considered automatically when
> mounting or/and there's an extra switch to force them. Like:
>
>   mount -u <clientFS> -p ... ...
>
> Sir, that means i need to first integrate the userlandfs such that the
client FSs are considered automatically... For this, where should i make
changes(is it a configuration setting?? ) ??


> [...]
> > > > --> things which are in my mind currently but i'm not upto the mark
> to give
> > > > a solution
> > > > a) about the local caching in order to increase the performance....
> > > > b) as i need to access an IMAP account i was thinking of using the
> haiku's
> > > > home grown code for working with IMAP, and as pointed by someone on
> IRC..
> > > > that it has some problems (some mails are lost while fetching..)
> ---> can i
> > > > use it or use something else(any other library for IMAP access). I
> can look
> > > > into fixing haiku's code for IMAP access.
>
> Both options are acceptable in principle.
>
> CU, Ingo
>
> for a)--> Does the implementations given for the cache related hooks in
fs_modules.h corresponds to this cache option???
for b)--> Should i go for changes in the haiku's native code for IMAP
access??

thanks...
have a nice day

--Anil Kag

Other related posts: