开源是一种精神,分享是一种美德!

fallocate

相关命令:dd,truncate
fallocate快速创建大文件
  

# 三种创建10G大文件的方法

# fallocate -l 10G bigfile
# truncate -s 10G bigfile
# dd of=bigfile bs=1 seek=10G count=0

评论(0)

暂无评论

评论

名字:
验证码:
获取验证码
内容: