How to create a large file on a VFAT partition efficiently in embedded Linux
问题 I'm trying to create a large empty file on a VFAT partition by using the `dd' command in an embedded linux box: dd if=/dev/zero of=/mnt/flash/file bs=1M count=1 seek=1023 The intention was to skip the first 1023 blocks and write only 1 block at the end of the file, which should be very quick on a native EXT3 partition, and it indeed is. However, this operation turned out to be quite slow on a VFAT partition, along with the following message: lowmem_shrink:: nr_to_scan=128, gfp_mask=d0, other