system/e2fsprogs: mke2fs fails with "Not a typewriter" when trying to fiemap a file with 0 bytes
Bugzilla ID | 25 |
Reporter | A. Wilcox (awilfox) |
Assignee | A. Wilcox (awilfox) |
Reported | 2017-01-12 00:30:18 -0600 |
Modified | 2018-07-03 23:37:11 -0500 |
Status | RESOLVED UPSTREAM |
Version | 1.0-ALPHA1 |
Hardware | Adélie Linux / All |
Importance | Normal / normal |
Description
When mke2fs is given a directory containing a file that is 0 bytes, it fails to ioctl_fiemap it with the error "Not a typewriter". This is specific to musl (it works fine on glibc) and affects all tested arches (x86_64 i525 ppcg3).