Page 1 of 1

Drive letters are not the only Volumes

Posted: 14 Feb 2013 20:29
by JDługosz
When I "move" a bunch of huge files from (example) C:\Media\CF\⋯ to C:\Images\Days\⋯, XYplorer does not send it to a background task, thus locking up the program for perhaps twenty minutes. C:\Media\CF is the mount point for a card reader, and C:\Images is a junction for G:\@MP\Images. But I am thinking that XYplorer just looks at the name and thinks it is a intra-volume move.

Windows has an API function to tell you which volume a file name belongs to, so you don't have to repeat that logic looking up the tree, or do it wrong and assume that only drive letters are volumes.

(In case you are wondering why my machine is set up this way: Images is a Junction because C: is a small SSD and the junction lets me keep a simple tree but put some directories on an enormous drive (E:) or a redundant RAID-5 system (G:), or even move the underlying home around without affecting programs. That's why Junctions were provided and promoted in Windows NT in the first place. Meanwhile, I don't want to consume four drive letters for my multi-card reader, expecially when most of them are rarely or never used. So I have mounting points to show directories for CF, SD, MS, xD instead of drive letters.)

Re: Drive letters are not the only Volumes

Posted: 15 Feb 2013 12:01
by admin
JDługosz wrote:When I "move" a bunch of huge files from (example) C:\Media\CF\⋯ to C:\Images\Days\⋯, XYplorer does not send it to a background task, thus locking up the program for perhaps twenty minutes. C:\Media\CF is the mount point for a card reader, and C:\Images is a junction for G:\@MP\Images. But I am thinking that XYplorer just looks at the name and thinks it is a intra-volume move.
Yes. Interesting. I'll improve it.

Re: Drive letters are not the only Volumes

Posted: 15 Feb 2013 12:29
by admin
No, I cannot. Too many complications.

Re: Drive letters are not the only Volumes

Posted: 15 Feb 2013 12:35
by Marco
I'm an user of junctions as well

Code: Select all

tab("new",property(#ResolveJunctionsAll,<curpath>));
With this you can redirect the current tab to the real path by resolving all the junctions. It could be a starting point for a copy/move/backup UDC (which I'm not familiar with).

Re: Drive letters are not the only Volumes

Posted: 15 Feb 2013 17:36
by JDługosz
admin wrote:No, I cannot. Too many complications.
I'll turn on "Apply To... Move intra-volume" which I suppose means it will always be non-blocking even if the source and dest have the same drive letter. The parenthetical remarks are less clear: "(runs at once in parallel process)" as opposed to "(can be queued)".

Re: Drive letters are not the only Volumes

Posted: 15 Feb 2013 17:39
by admin
It means that it will not move into line in any queue but start immediately (i.e. will open its own XYcopy process).

Re: Drive letters are not the only Volumes

Posted: 15 Feb 2013 19:49
by JDługosz
admin wrote:It means that it will not move into line in any queue but start immediately (i.e. will open its own XYcopy process).
Even if another one like it is already going, it creates a new thread to work at the same time?

Re: Drive letters are not the only Volumes

Posted: 15 Feb 2013 20:41
by admin
Yes