生成1M大小的文件 dd dd if=/dev/urandom of=onebox.test bs=1MB count=1 truncate truncate -s 1M onebox.test fallocate fallocate -l 1000000 onebox.test head/tail head -c 1MB /dev/urandom > onebox.test head -c 1MB /dev/zero > onebox.test