Commit graph

15 commits

Author SHA1 Message Date
Andrea Mazzoleni
e8ba8c435a Auto detection of fake physical offsets.
Fixes hardlink detection with not persistent inodes.
2013-09-25 23:20:07 +02:00
Andrea Mazzoleni
f990c7106b Doesn't risk to use the inode to sort file in a generic nix. 2013-09-24 23:17:53 +02:00
Andrea Mazzoleni
73c16ffd88 Assumes ioctl() failed only if it returns -1.
This happens when dealing with btrfs.
2013-09-24 22:27:41 +02:00
Andrea Mazzoleni
4eee6b9c4a Doesn't fail in filephy() after an unexpected error. There are too many filesystem to know that are expected errors. 2013-09-24 21:45:07 +02:00
Andrea Mazzoleni
ef969263cd Fallback to FIBMAP if FIEMAP doesn't work. 2013-09-23 23:58:19 +02:00
Andrea Mazzoleni
f31e4f229d If the underline filesystem doesn't support FIEMAP, use the inode instead of the physical offset. 2013-09-17 23:39:51 +02:00
Andrea Mazzoleni
bec047b0b3 Adds statfs() support to other unix. 2013-08-29 00:23:14 +02:00
Andrea Mazzoleni
e4e13a669b Marks FUSE filesystem as with not persistent inodes,
disabling inode use in such case.
2013-08-27 23:02:12 +02:00
Andrea Mazzoleni
1e4bc72098 Adds a check to avoid to use FUSE filesystem. 2013-08-25 22:39:58 +02:00
Andrea Mazzoleni
6a25acb8dc Fixes inode assignenment in nix architectures different than Linux. 2013-08-23 18:24:52 +02:00
Andrea Mazzoleni
c1f0d7c372 Adds tests for the new order commands. 2013-06-25 23:12:31 +02:00
Andrea Mazzoleni
6032576650 Sorts the files by physical address before inserting them for the first time. 2013-06-25 22:41:10 +02:00
Andrea Mazzoleni
768113c670 Adds UUID to check to detect disk misplacement. 2013-03-03 22:39:46 +01:00
Andrea Mazzoleni
14039c1a63 Fixes compilation in Windows. 2013-02-27 20:50:40 +01:00
Andrea Mazzoleni
28efb85011 Moves the unix support to the unix.c/h files and removes the os.c/h ones. 2013-02-27 20:20:49 +01:00