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 [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to