Opened 17 years ago
Closed 16 years ago
#1244 closed defect (fixed)
Shared folders fails when listing root folder -> Fixed in VBox 3.x
Reported by: | Oscar Díaz | Owned by: | |
---|---|---|---|
Component: | shared folders | Version: | VirtualBox 1.5.6 |
Keywords: | shared folders | Cc: | |
Guest type: | other | Host type: | other |
Description
Hi. I upgraded from VBox 1.5.0 to 1.5.6, on xp host and linux 2.6.24 guest, and I got this problem:
- I have D:\ as shared folder (name=drivec , dir=D:\) to the guest, it mounts ok but it cannot list the root directory:
root@host# mount -t vboxsf drivec /mnt root@host# ls /mnt ls: /mnt: No such file or directory root@host# dmesg | tail -1 vboxvfs: sf_dir_open: directory / does not exist root@host# ls /mnt/dirinside fileinside.txt otherdirinside
- This don't happen if I share a subfolder, e.g. D:\dirinside (name=dirin, dir=D:\dirinside)
root@host# mount -t vboxsf dirin /mnt root@host# ls /mnt fileinside.txt otherdirinside
- This problem only shows with letter-like folders (c:\ , d:\ , etc), not with subfolders. And this was not in VBox 1.5.0
Thanks.
Change History (4)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Replying to dargor:
Hi dargor,
You can work around that issue by creating what is called a "junction" in XP, as follows:
Create a directory, for example, "C:\C"
Open "Computer Management" under the "Administrative Tools" control panel.
Choose "Disk Management"
Right-click "C:" and choose "Change Drive Letter and Paths..."
Click "Add" and in the white box type the name of the new directory, i.e. "C:\C" and then click OK
In VirtualBox instead of making "C:" your shared folder, make "C:\C" your shared folder.
The contents of "C:\C" is the same as the contents of "C:\" because it just points back to itself.
Hope this helps until the bug is fixed!
-rbaxte03
comment:3 by , 17 years ago
Component: | other → shared folders |
---|
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | Shared folders fails when listing root folder → Shared folders fails when listing root folder -> Fixed in VBox 3.x |
This has been fixed some time ago and works with VirtualBox 3.x.
Oops, the upgrade was from 1.5.2 to 1.5.6
Sorry