3 ms·
> The whole point of filesystems is they present the same interface. ZFS and ext4 should just work the same for Dropbox. This is unfortunately not true, especi
by freedomben 8y ago
> The whole point of filesystems is they present the same interface. ZFS and ext4 should just work the same for Dropbox.
This is unfortunately not true, especially with ZFS and ext4 that you mentioned. ZFS is different enough that you can't even use tools like `df` and `du`. You need to use the ZFS tools.
- userbinator 8y agoZFS is different enough that you can't even use tools like `df` and `du`. I'm not as sure about df, but I've written a du or at least something approaching one before --- how does it not break every other application that relies on stat() and the file size that it returns?
- cmurphycode 8y agoOne reason for du/df problems with ZFS is ZFS compression.
- LeoPanthera 8y agoAt least on FreeBSD, both those tools have been explicitly patched for ZFS. (See, for example, the -A switch to du.)
- DannyB2 8y agoYour statement proves the point that developing for Linux means having to support many choices. What patches will be needed for yet some different filesystem, or init system, or desktop interface? And how many hundreds or thousands of programs might be affected?