Y
Hacker News
new
|
ask
|
show
|
jobs
by
zrm
78 days ago
If you create the file with 'mkswap --file' it allocates the blocks. Trying to use 'swapon' with an existing sparse file won't remove the holes for you but does notice them and then refuse to use it.