A replication script: FSIMAGE="/home/phcoder/bfs.img" FSLABEL=grub_test MNTPOINTRW=/home/phcoder/mnt qemu-img create /home/phcoder/bfs.img 10G LD_LIBRARY_PATH=/home/phcoder/repos/haiku/haiku/generated/objects/linux/lib/ /home/phcoder/repos/haiku/haiku/generated/objects/linux/x86/release/tools/bfs_shell/bfs_shell --initialize "$FSIMAGE" "$FSLABEL" /home/phcoder/repos/haiku/haiku/generated/objects/linux/x86/release/tools/bfs_shell/bfs_fuse "$FSIMAGE" "$MNTPOINTRW" BIGBLOCKCNT=5000 (openssl rand $((BIGBLOCKCNT * 262144)); openssl rand $((BIGBLOCKCNT * 262144)); openssl rand $((BIGBLOCKCNT * 262144)); openssl rand $((BIGBLOCKCNT * 262144))) >> "$MNTPOINTRW/myfs/big.img" On 28.10.2011 23:30, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 27.10.2011 21:56, Axel Dörfler wrote: >> Axel Dörfler<axeld@xxxxxxxxxxxxxxxx> wrote: >>> Vladimir ?-coder/phcoder Serbinenko<phcoder@xxxxxxxxx> wrote: >>>> I mount a freshly-created bfs image using bfs_fuse. And I do: >>>> BIGBLOCKCNT=5000 >>>> (openssl rand $((BIGBLOCKCNT * 262144)); openssl rand $((BIGBLOCKCNT >>>> * 262144)); openssl rand $((BIGBLOCKCNT * 262144)); openssl rand >>>> $((BIGBLOCKCNT * 262144))) > big.img >>>> On other FS this creates a 5G random file. On bfs-fuse it creates only a >>>> file as big as 2133430272 bytes. >>> That must be a bug in the fs_shell. Please file a bug report at >>> dev.haiku-os.org, and thanks for the note! > I couldn't figure out the interface on it. I think I'll get my hands > dirty and just make a patch for it >> Scratch that - I've used the fs_shell to copy way more than 2G files. It >> must be the fuse layer then :-) >> > Wouldn't be so sure. Semantics of that command was a continuous append, > not a copy, might make a difference. >> Bye, >> Axel. >> >> >> > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko