Re: [debian-knoppix] Making a new miniroot.gz
On Sat, Aug 16, 2003 at 01:29:36AM +0530, Rajkumar S wrote:
> umounted and gzipped the file again..
>
> -rw-r--r-- 1 raj raj 361284 Aug 16 01:16 miniroot.gz
>
> Now mounted it again removed the file and then umounted and gzipped..
>
> -rw-r--r-- 1 raj raj 361283 Aug 16 01:17 miniroot.gz
>
> Their is only a small difference. I fully filled the filesystem with
> zero bytes file and then erased them. and agin umounted and checked the
> size..
There is your mistake. You did not umount and remount the file after
putting a large file with zero-bytes in the vfs, so the file was never
actually written, and the random data of the previous file remains.
Problem solved. ;-)
Maybe mounting with the "sync" option would also help.
Regards
-Klaus Knopper
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix
Reply to: