3 ms·
Check if this works for your case: echo > myfile P.S. not the "solution", but may help in case you fill the disk by accident, and need to make some room befor
by faragon 11y ago
Check if this works for your case:
echo > myfile
P.S. not the "solution", but may help in case you fill the disk by accident, and need to make some room before a remount cycle.
P.S.2. this could help also when your disk is already 100% full, without enough space for deleting files -not enough space for new inodes- (I tested that case on ZFS NAS with no left space at all, and worked).