[Bug 264196] sysutils/fusefs-ntfs: read(2)ing big files in blocks of 32768 bytes and smaller fails with EINVAL

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 24 May 2022 13:58:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264196

--- Comment #2 from Alexey Dokuchaev <danfe@FreeBSD.org> ---
(In reply to Alan Somers from comment #1)
> I can try to investigate, but you'll have to tell me how to create the file
> system first.
$ pkg which `which mkntfs`
/usr/local/sbin/mkntfs was installed by package fusefs-ntfs-2017.3.23
$ truncate -s 1G ntfs
# mdconfig -f ~alice/ntfs
md1
# mkntfs -f /dev/md1
... Have a nice day.
# ntfs-3g /dev/md1 /mnt/bar
$ cd /mnt/bar
$ truncate -s 10M foo
$ /tmp/a.out foo -1
using i/o size 4096 (optimal 4096)
read: Invalid argument
1 reads were successful
...
$ /tmp/a.out foo -1
using i/o size 4096 (optimal 4096)
read: Invalid argument
177 reads were successful
...

> Have you tried running the daemon in the foreground, with debug output?
Not yet, will try.

-- 
You are receiving this mail because:
You are the assignee for the bug.