dd of=bigfile count=0 bs=1M seek=8000
The command “stat bigfile “
stat bigfile
File: ‘bigfile’
Size: 8388608000 Blocks: 0 IO Block: 4096 regular file
Device: 802h/2050d Inode: 2757441 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( 1000/ freeman) Gid: ( 1000/ freeman)
Access: 2015-02-04 13:45:26.383469031 +0800
Modify: 2015-02-04 13:45:22.415468867 +0800
Change: 2015-02-04 13:45:22.415468867 +0800
Birth: -
The real size will grow as much as read data gets written.
Reference:
1. Using dd as a Swiss Army knife
0 意見:
張貼留言