Path length
Posted: 2. Apr 2014, 11:29
Hi,
My configuration is:
Host Windows 7, VB 4.3.10
Guest Windows XP, guest additions installed.
I share folders host-guest.
Some guest applications malfunction, I traced down to a point that looks an issue of path length being too long:
- guest almost just uses the drive letter mapped to the shared folder, so guest local path is short, but files have a very long name
- it looks that, even if the files fit in the maximum 256 characters in the guest, host path + guest path + file name is bigger that 256 characters, then looks that the guest is probably receiving an error from the host or alike.
If so, looks that max path+filename length in guest is limited to (256 - host folder path length), but did not find anything at the manual.
I tried to find a workaround and remembered section 4.3 of the manual, stating:
"Starting with version 4.0, VirtualBox shared folders also support symbolic links (symlinks), under the following conditions:
The host operating system must support symlinks (i.e. a Mac, Linux or Solaris host is required).
Currently only Linux and Solaris Guest Additions support symlinks."
I am unable to properly understand that;
Questions:
Would you please confirm/deny this guest path+file length constraint?
Above referred symlinks are junctions under windows 7?
Shared folder support of symlinks means that a Windows 7 host can share a folder that is a junction of another host folder?
Shared folder support of symlinks means that a Windows (XP or 7) guest can set up guest-junctions inside its view of the shared folder?
If junctions can be used at the host to base shared folders, would this be a workaround for my too long path issues in the guest?
Thanks in advance,
CT
My configuration is:
Host Windows 7, VB 4.3.10
Guest Windows XP, guest additions installed.
I share folders host-guest.
Some guest applications malfunction, I traced down to a point that looks an issue of path length being too long:
- guest almost just uses the drive letter mapped to the shared folder, so guest local path is short, but files have a very long name
- it looks that, even if the files fit in the maximum 256 characters in the guest, host path + guest path + file name is bigger that 256 characters, then looks that the guest is probably receiving an error from the host or alike.
If so, looks that max path+filename length in guest is limited to (256 - host folder path length), but did not find anything at the manual.
I tried to find a workaround and remembered section 4.3 of the manual, stating:
"Starting with version 4.0, VirtualBox shared folders also support symbolic links (symlinks), under the following conditions:
The host operating system must support symlinks (i.e. a Mac, Linux or Solaris host is required).
Currently only Linux and Solaris Guest Additions support symlinks."
I am unable to properly understand that;
Questions:
Would you please confirm/deny this guest path+file length constraint?
Above referred symlinks are junctions under windows 7?
Shared folder support of symlinks means that a Windows 7 host can share a folder that is a junction of another host folder?
Shared folder support of symlinks means that a Windows (XP or 7) guest can set up guest-junctions inside its view of the shared folder?
If junctions can be used at the host to base shared folders, would this be a workaround for my too long path issues in the guest?
Thanks in advance,
CT