Re: Move does not preserve timestamps.
- From: "Jonathan A. Irwin" <jnthn_gmane@xxxxxxxxx>
- To: emelfm2@xxxxxxxxxxxxx
- Date: Wed, 1 Nov 2006 22:47:16 -0500
On Thu, 2 Nov 2006 11:41:27 -0500
<tpgww@xxxxxxxxxxx> wrote:
> On Wed, 1 Nov 2006 00:54:24 -0500
> "Jonathan A. Irwin" <jnthn_gmane@xxxxxxxxx> wrote:
>
> > > the mtime and atime would not be preserved. I can readily fix
> > > that.
> >
> > Would be much appreciated. Thanks, Tom.
>
> Now in svn. Preservation of times on symlinks (as opposed to their
> targets) seems to be impossible.
Yes... that's what I see, even with "/bin/cp -a symlink ." I've always
assumed the "copied" symlink is simply created anew with as many attributes
as possible preserved when the "-a" switch is used.
Thanks for the effort in updating the file.move code. Of course, there's
always something, isn't there. ;-)
I thought at first, that this was a problem with the revised code, but
the behavior I am about to describe occurs with the official 0.3 release
as well.
When I move a file from one dir to another and back again, I often get:
File operation in progress, file.move added to queue
I don't know any way to flush the queue, so I am obliged to wait for the
operation to complete. However, it never does. Upon quitting, e2 then
segfaults. I compiled with debug, and get:
[DEBUG ] e2_action_run (from:, rt:file.move)
[DEBUG ] e2_task_set_data (pid:0,mode:2,command:(null),exit:0)
[DEBUG ] e2_action_run () ends
[DEBUG ] dest path is /tmp/syntax.html
[DEBUG ] Q-process-thread (ID=16386) started
[DEBUG ] refreshing /var/tmp/
[DEBUG ] start refresh filelist for /var/tmp/
[DEBUG ] finish refresh filelist for /var/tmp/
[DEBUG ] refreshing /tmp/
[DEBUG ] start refresh filelist for /tmp/
[DEBUG ] setup to clear stores later
[DEBUG ] finish refresh filelist for /tmp/
[DEBUG ] 1 old liststore(s) cleared
[DEBUG ] callback: mouse button press
[DEBUG ] callback: cursor changed
[DEBUG ] callback: cursor changed
[DEBUG ] callback: button release
[DEBUG ] e2_action_run (from:, rt:file.move)
[DEBUG ] e2_task_set_data (pid:0,mode:2,command:(null),exit:0)
[DEBUG ] e2_action_run () ends
[DEBUG ] output button press cb
[DEBUG ] refreshing /tmp/
[DEBUG ] start refresh filelist for /tmp/
[DEBUG ] setup to clear stores later
[DEBUG ] finish refresh filelist for /tmp/
[DEBUG ] 1 old liststore(s) cleared
[DEBUG ] output button press cb
[DEBUG ] e2_action_run (from:, rt:command.quit)
[DEBUG ] e2_action_run (from:, rt:pending.delete)
The file "syntax.html" is only 5036 bytes, so I presume a minute or two
is plenty of time to conclude that the operation will not complete. :)
The debug output above shows moving the file between two different
partitions, but I also get this "hang" when I'm moving the file to a new
subdir on the same partition.
I may or may not be able to successfully move the file back and forth
once, but never twice. Usually I get failure on the first attempt to
move the file back to the original location.
--
Jonathan A. Irwin
jnthn_gmane@xxxxxxxxx
--
Users can unsubscribe from the list by sending email to
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by
logging into the web interface.
- Follow-Ups:
- Re: Move does not preserve timestamps.
- From: tpgww
- Re: Move does not preserve timestamps.
- From: tpgww
- References:
- Re: Move does not preserve timestamps.
- From: Jonathan A. Irwin
- Re: Move does not preserve timestamps.
- From: tpgww
Other related posts:
- » Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- » Re: Move does not preserve timestamps.
- Re: Move does not preserve timestamps.
- From: tpgww
- Re: Move does not preserve timestamps.
- From: tpgww
- Re: Move does not preserve timestamps.
- From: Jonathan A. Irwin
- Re: Move does not preserve timestamps.
- From: tpgww