VirtualBox

16 年 前 建立

16 年 前 結束

#2379 closed defect (fixed)

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

回報者: George Prekas 負責人:
元件: shared folders 版本: VirtualBox 2.0.2
關鍵字: 副本:
Guest type: Linux Host type: Windows

描述

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.

附加檔案 (1)

patch.diff (329 位元組 ) - 16 年 前, 由 George Prekas 新增
Possible fix

下載所有附檔: .zip

更動歷史 (3)

16 年 前George Prekas 編輯

附檔: 新增 patch.diff

Possible fix

comment:1 16 年 前Frank Mehnert 編輯

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

Fixed, thank you for this report.

comment:2 16 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette