|
我做了一个loop file( 通过mount -o loop rootfs /mnt/tmp ..来mount), 然后在其中做了一个root filesystem, 放置了一些文件。 现在我使用du -s的结果是
[root@localhost ~]# du -s /mnt/tmp/
20717 /mnt/tmp/
然后使用
[root@localhost ~]# cp -a /mnt/tmp/* ./tmp
[root@localhost ~]# du -s ./tmp
28804 tmp/
我就奇怪了, 同样的目录,同样的文件,放在 loop file里面(文件格式使用mke2fs 格式化的)和放在Fedora的ext3的文件系统里, 为什么du -s 的结果就差别如此之大?
有人知道原因吗? 如何解决这个问题呢? |
|