Ticket #2454 (new enhancement)

Opened 14 years ago

Last modified 5 years ago

Make reloading extfs contents possible

Reported by: gotar Owned by:
Priority: major Milestone: Future Releases
Component: mc-vfs Version: 4.7.4
Keywords: Cc: howaboutsynergy@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Currently mc caches entire vfs structure and so requires restart to reload it (not only CmdReload doesn't reread original source, but also assumes some file operations as done even if they weren't).
This is both irritating and makes it impossible or hard to write some new extfses. I'm trying to use Android Debug Bridge to connect to my phone (without FISH or some fancy FUSE mounting like sshfs). However mc expects full directory listing (including all the subdirectories) at the very beginning, which is pointless in case of tree based layouts behind (not to mention it would take ages and put unnecessary strain to the device).
I'd like to use vfs reload code to fetch contents of cwd (or any currently required location only), just like it happens with regular fs (every cd gets fresh data). In order to do this I need two additional features:

  1. some extfs marker to set for partial reload capable (for autoreloading contents after every cd, otherwise one needs to press ctrl-r),
  2. passing internal cwd (i.e. the part after #extfs) to the list action.

Change History

comment:1 Changed 13 years ago by slavazanko

  • Branch state set to no branch

Closely related to #62

comment:2 Changed 13 years ago by slavazanko

  • Blocked By 2695 added

comment:3 Changed 13 years ago by slavazanko

  • Blocked By 2695 removed

(In #2695) Merged to master:

git log --pretty=oneline 963ee34...4047403

comment:4 Changed 9 years ago by andrew_b

  • Milestone changed from 4.8 to Future Releases

comment:5 Changed 5 years ago by howaboutsynergy

  • Cc howaboutsynergy@… added

comment:6 Changed 5 years ago by howaboutsynergy

  • Cc howaboutsynergy@… removed

comment:7 Changed 5 years ago by howaboutsynergy

  • Cc howaboutsynergy@… added
Note: See TracTickets for help on using tickets.