Hi,
ntfsprogs 1.8.2 added support for FreeBSD. I tested it. The good news, all
regression tests passed (mostly just resizing related). The bad one is,
there were a lot of scary and bogus outputs in regards to printed numbers
(sizes, offsets, run lengths, etc) like relocating data to the bootsector,
etc, those kind that should never happen.
The reason is, the printf 'L' length modifier is incorrectly used in 436
places all over the source instead of using 'll'. This is a very
embarrassing and bad bug. Depending on the libc used and its current
printf implementation, the numbers can be random thus it can be impossible
to debug things and if an external tool relies on them then very
unpleasant things could happen.
Interestingly this never showed up on Linux for me, actually the compiler
should have even warned :(
Bzip2 compressed patch is attached.
Szaka
|