GNU bug report logs -
#16338
[PATCH 2/2] Fix filesystem detection on non 512 byte sectors
Previous Next
Reported by: Phillip Susi <psusi <at> ubuntu.com>
Date: Sat, 4 Jan 2014 05:28:01 UTC
Severity: normal
Tags: patch
Done: Phillip Susi <psusi <at> ubuntu.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 03/03/2014 07:36 PM, Phillip Susi wrote:
> On 03/03/2014 02:45 PM, Brian C. Lane wrote:
>> Do our tests already cover all of these filesystems?
>
> I think so but now that I look at this again, it looks like I
> forgot to fix the tests. Currently they skip on !512 byte sector
> size. I'll fix that.
So the best looking test to do this appears to be t1700-probe-fs. The
problem is that it uses a loop file instead of a real device, and so
does not really simulate !512 byte sectors. Also when I tried adding
jfs, ntfs, and hfs, I found that hfs does not support -V ( version )
to test if it is supported, and mkfs.ntfs exits with an error status
when run with -V, and mkfs.jfs tries to do an interactive prompt to
really use a file instead of a device, and redirecting stdin to
/dev/null causes it to crash with a SIGABRT. I suppose for the time
being, this just may just have to be an untested feature.
I did update the patch for the recent addition of btrfs support, and
so will follow up this email with that.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBCgAGBQJTJ6aWAAoJEI5FoCIzSKrwXKkH/00CXfBkI9vrdnxluDWvX4LX
knLEAu65orwITpJ87Vp8RHxRJdXHL83u7PQPrWxbwb/Zh00G/qhILumFFEv/vfx0
Y2Q2znX9o0mvaOJsB15obDghkMpzr6XOb3wz/bCLjPku/MGn56QqTdQazfDcamcZ
X29wvewiz+tzPhmwBlNOgCz3IZm5J0tfr9aaA/0L9rDuaFqrXeo29no2wNa2LaTu
HNZv2hPp7wqnbDITsQ/8Lq2tsnf1zLag0+tc+SPblbDrrdxq007kAjx2TuC8zWz8
gu2csd2WKF0jfE9c12M0T2PdrA7C/gTxupdkrS/AKgqjt+bBEgyn096iC+LOYQY=
=ZB+/
-----END PGP SIGNATURE-----
This bug report was last modified 11 years and 41 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.