VirtualBox

Opened 16 years ago

Closed 15 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)

patch.diff (329 bytes ) - added by George Prekas 16 years ago.
Possible fix

Download all attachments as: .zip

Change History (3)

by George Prekas, 16 years ago

Attachment: patch.diff added

Possible fix

comment:1 by Frank Mehnert, 16 years ago

Summary: Shared folders - unable to seek beyond 2GBShared folders - unable to seek beyond 2GB => Fixed in SVN

Fixed, thank you for this report.

comment:2 by Frank Mehnert, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use