Commit Graph

53 Commits

Author SHA1 Message Date
bootandy 03a517a310 block size is always 512 on rust 2018-03-22 14:29:59 -04:00
Joe Ardent aa3f411974 fixes blocksize error in get_blocksize().
Under Linux, MetadataExt::st_blocks() returns then number of 512B
blocks.

https://doc.rust-lang.org/1.23.0/std/os/linux/fs/trait.MetadataExt.html#tymethod.st_blocks
2018-03-22 00:34:14 -07:00
Joe Ardent eb69ad19a0 break platform cfg code into utils submodule 2018-03-22 00:00:21 -07:00