Opened 17 years ago
Closed 17 years ago
#2379 closed defect (fixed)
Shared folders - unable to seek beyond 2GB => Fixed in SVN
Reported by: | George Prekas | Owned by: | |
---|---|---|---|
Component: | shared folders | Version: | VirtualBox 2.0.2 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
I am using VirtualBox 2.0.2 on Windows XP SP2 running Linux 2.6.18 as a guest OS. When I create a file larger than 2GB I am unable to seek into it past the 2GB point. Using this command works as expected: dd if=/mnt/windows/testfile bs=1k skip=2097151 count=1
But using this command it takes a lot of time to read the record: dd if=/mnt/windows/testfile bs=1k skip=2097152 count=1
The reason is (as shown by strace) that the initial llseek fails so dd tries to read the whole file from the beginning in order to reach the requested record.
The reason is that the field s_maxbytes of super_block struct is not initialized by the vboxvfs module. I have attached a possible fix.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | patch.diff added |
---|
comment:1 by , 17 years ago
Summary: | Shared folders - unable to seek beyond 2GB → Shared folders - unable to seek beyond 2GB => Fixed in SVN |
---|
Fixed, thank you for this report.
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Possible fix