4 ms·
> df also lies on ZFS, bcachefs, and LVM+snapshots. It is possible. Got any examples? And more saliently do you have reports of disk corruption occurring as a
by lproven 3y ago
> df also lies on ZFS, bcachefs, and LVM+snapshots.
It is possible. Got any examples?
And more saliently do you have reports of disk corruption occurring as a result of falsely reported free space which was not in fact available? As has corrupted multiple Btrfs volumes for me, on multiple machines, in production, and with disastrous consequences and resultant need for complete system reinstallation?
- yencabulator 3y agoYou're moving the goalposts. You said > I want a 100% accurate accounting of free space at all times via the standard xNix free-disk-space reporting command You don't get that on many modern storage systems, because of thin provisioning. You don't get that even on old school unix if you ask separately in two different directories, and fail to account for whether they're on the same filesystem or not.
- lproven 3y agoAnd again, since you seem not to have noticed: [[citation needed]] All xNix owners who can use the shell competently know that different directories may have different free-space counts. The problem is when the filesystem won't tell you a real free-space count at all.