View Single Post
Old 10-21-2019, 02:47 PM   #624
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,018
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Quote:
Originally Posted by MaxStirner View Post
Why not just fill up free space, leaving no more than 200 mb.
Yeah, that's what I do now as last resort:

Code:
#!/bin/sh
x="$(df | grep " /mnt/us" | awk '{print $4}')"  #how much space left in 1024B units
dd if=/dev/zero of=/mnt/us/filler count=1 bs=1 seek="$(($x *1024 - 20 * 1024 * 1024))" #keep 20MB free
Not really convenient and slow (~10 minutes for 1.7GB), but it works.
PoP is offline   Reply With Quote