Why calculate the sizes when you can just use cat until it stops
because the disk is full?

 cat /dev/zero > /mnt/yourfilesystem/thebigfile

BTW don't forget to proberly umount /mnt/yourfilesystem afterwards, of
course, to force a sync. (Just in case there might be a file system
that doesn't send the data immediately to the block device, you might
want to umount right after filling the disk, *before* removing the
file.)

Ch.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinbbkxqokv8sjoevgal1xefuobke3ykehifb...@mail.gmail.com

Reply via email to