Drive letters are not the only Volumes

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
JDługosz
Posts: 123
Joined: 17 Dec 2007 23:22
Contact:

Drive letters are not the only Volumes

Post 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.)
:info: Using Windows 11
:info: 3 displays, main is scaled 125% and others are 100%. The XYplorer window typically lives on a monitor with 100% scaling.

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Drive letters are not the only Volumes

Post 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.

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Drive letters are not the only Volumes

Post by admin »

No, I cannot. Too many complications.

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Drive letters are not the only Volumes

Post 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).
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

JDługosz
Posts: 123
Joined: 17 Dec 2007 23:22
Contact:

Re: Drive letters are not the only Volumes

Post 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)".
:info: Using Windows 11
:info: 3 displays, main is scaled 125% and others are 100%. The XYplorer window typically lives on a monitor with 100% scaling.

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Drive letters are not the only Volumes

Post 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).

JDługosz
Posts: 123
Joined: 17 Dec 2007 23:22
Contact:

Re: Drive letters are not the only Volumes

Post 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?
:info: Using Windows 11
:info: 3 displays, main is scaled 125% and others are 100%. The XYplorer window typically lives on a monitor with 100% scaling.

admin
Site Admin
Posts: 67315
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Drive letters are not the only Volumes

Post by admin »

Yes

Post Reply