Re: mtools extfs script patch proposal



Hi!

Thanks for the patch improvements. It is working perfectly here.

I would just like to report a little bug in the extfs. If I cd to e.g.
/#a and than I cd to e.g. /#d where both these extfs filesystems are of
the same type (linked in the /usr/share/mc/extfs and added to the
extfs.ini like "a:\nd:\n") than the old (#a) contents is shown. If I use
e.g.  /tmp/#d for the latter then it works. So, it seems that the 'url'
used here is cached by the path (good) and the extfs type (bad - should be
extfs alias name string).

--- demo ---
e.g.

cd /#c
cd /#d
here again the /#c contents is shown.

cd /tmp/#d
however works well
---  end ---

One more suggestion: Will is be possible to include a symbolic links such 
as c->a, d->a, e->a, f->a, g->a, h->a, i->a, etc. to the package? I might 
be done via a post install script in case of RPM. Also the 
apropriate extfs.ini entries would be cool.

best regards

STan

PS: Again, please use my private mail as a Cc: when replying.. thanks.


On Fri, 8 Nov 2002, Pavel Roskin wrote:

> While testing this change, I have discovered one more problem - long 
> filenames with spaces were truncated.  I have fixed this bug as well.
> 
> I'm committing this patch:
> ====================================
> --- vfs/extfs/a
> +++ vfs/extfs/a
> @@ -17,6 +17,9 @@
>  $0 =~ s|.*/||;
>  $disk = $0;
>  
> +$ENV{MTOOLS_DATE_STRING} = "mm-dd-yyyy";
> +$ENV{MTOOLS_TWENTY_FOUR_HOUR_CLOCK} = "1";
> +

...




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]