Bug: sizes of big dirs

Pavel Roskin proski at gnu.org
Sun Sep 2 03:47:11 UTC 2001


Hi, Martin!

> > Similar thing in Info panel C-x i
>
> The byte counter on copy/move operations is likely to be affected as
> well. Can't check this though, as I don't have enough free diskspace
> :-(

You can use sparse files (i.e. files with holes).  They can be created by
dd with the "seek" option.  This command would create a 5G long file
filled with zeroes and occupying 0 bytes on the hard drive (apart from
metadata):

dd if=/dev/zero of=bigfile bs=1M seek=5120 count=0

-- 
Regards,
Pavel Roskin





More information about the mc-devel mailing list