Date: Thu, 26 May 2022 07:25:58 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264196] sysutils/fusefs-ntfs: read(2)ing big files in blocks of 32768 bytes and smaller fails with EINVAL Message-ID: <bug-264196-7788-hRtld01hCf@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-264196-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-264196-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264196 --- Comment #11 from Alexey Dokuchaev <danfe@FreeBSD.org> --- (In reply to Alexey Dokuchaev from comment #8) > ... > +bmap /Temp/qemu6-6.2.0.pkg blocksize: 65536 index: 1 > + unique: 14, error: -22 (Invalid argument), outsize: 16 Looks like this -EINVAL comes from `static int ntfs_fuse_bmap()' in the src/ntfs-3g.c around line 2773. Adding debug fprintf() like this: > if (blocksize > ctx->vol->cluster_size) { > fprintf(stderr, " >>> blocksize =3D %zd, cluster_size =3D %d\n", > blocksize, ctx->vol->cluster_size); > return -EINVAL; >} yields ">>> blocksize =3D 65536, cluster_size =3D 4096". --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264196-7788-hRtld01hCf>