[SHR-Unstable] swapon: swapfile has holes

Rask Ingemann Lambertsen ccc94453 at vip.cybercity.dk
Sun Sep 6 16:23:25 CEST 2009

On Sat, Sep 05, 2009 at 01:32:59PM +0200, Joachim Ott wrote:

> I wonder if "dd" (which is just busybox) has created a sparse file (in
> order to optimize for speed and space). I cannot check this, because
> "du", which is busybox too, lacks the --apperent-size option.

   You can check it without a working "du":

$ df -h /
$ rm /swapfile
$ df -h /

Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

More information about the support mailing list