Re: develop vfs plugin

2018-05-28 Thread Raikol Duergar
sorry, i thought i have written to all.

I will look to implement through fish ... i think it is one by one command
as i want.

2018-05-28 15:53 GMT+02:00 Andrew Borodin :

> On Mon, 28 May 2018 15:30:30 +0200 Raikol Duergar wrote:
> > i want to make a plugin that goes one by one, if i have a full disk that
> > has TB of data and only want to browse two dirs  why should i need to
> > read full disk?
> >
> > it would be for rclone
>
> Such talk is pointless. Current extfs implementation requires the full
> file list
> of archive. If you don't like that, patches are welcome.
>
> --
> Andrew
>
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: develop vfs plugin

2018-05-28 Thread Andrew Borodin
On Mon, 28 May 2018 13:42:33 +0200 Raikol Duergar wrote:
> the problem is that extfs helpers need full ls -lR from start,

Yes. This mean that you read an archive one time only. Otherwise, if you
want walk through archive directories, you have to read archive again
and again. If archive doesn't provide its list explicitly, the directory
change will take a lot of time.

> it is possible to get directory by directory?

Unfortunately, no.

-- 
Andrew
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: develop vfs plugin

2018-05-28 Thread Raikol Duergar
the problem is that extfs helpers need full ls -lR from start, it is
possible to get directory by directory?

2018-05-24 13:55 GMT+02:00 Andrew Borodin :

> On Wed, 23 May 2018 13:07:28 +0200 Raikol Duergar wrote:
> > i dont like to do a full scan of archive from the start 
>
> The base vfs library code is in the lib/vfs directory.
> Also you can find there some notes in README and HACKING files.
> Unfortunately, historically, a detail documentation is absent at all.
>
> Various VFS implementations (plugins) are in the src/vfs directory.
> Some VFSes (ftp, fish, etc) are written in C. Most archive VFSes
> are shell, perl, python scripts run via extfs (see src/vfs/extfs/helpers).
>
> --
> Andrew
> ___
> mc-devel mailing list
> https://mail.gnome.org/mailman/listinfo/mc-devel
>
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: develop vfs plugin

2018-05-25 Thread Andrew Borodin
On Wed, 23 May 2018 13:07:28 +0200 Raikol Duergar wrote:
> i dont like to do a full scan of archive from the start 

The base vfs library code is in the lib/vfs directory.
Also you can find there some notes in README and HACKING files.
Unfortunately, historically, a detail documentation is absent at all.

Various VFS implementations (plugins) are in the src/vfs directory.
Some VFSes (ftp, fish, etc) are written in C. Most archive VFSes
are shell, perl, python scripts run via extfs (see src/vfs/extfs/helpers).

-- 
Andrew
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel