[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12421: Issue of the cp on Ubuntu 10.10
From: |
owen . zhao |
Subject: |
bug#12421: Issue of the cp on Ubuntu 10.10 |
Date: |
Tue, 11 Sep 2012 21:41:27 +0800 |
Dear Sir,
A strange issue happens when I use the cp tool on two directory.
1 I have an empty directiry
address@hidden:~/work/ALi_SDK/DailyBuild/linux_20120911$ ls
images/fs.install/ -a
. ..
2 Then I cp an directory in this directory with -rf
address@hidden:~/work/ALi_SDK/DailyBuild/linux_20120911$ cp
extern/fs_install/* images/fs.install/ -rf
We can find the file busybox size is 998K now.
address@hidden:~/work/ALi_SDK/DailyBuild/linux_20120911$ ls
images/fs.install/bin/busybox -lh
-rwxr-xr-x 1 owen owen 988K 2012-09-11 21:37 images/fs.install/bin/busybox
3 In another directory, we have a same file with the same size
address@hidden:~/work/ALi_SDK/DailyBuild/linux_20120911$ ls
extern/fs.install/bin/busybox -lh
-rwxr-xr-x 1 owen owen 988K 2012-09-11 15:02 extern/fs.install/bin/busybox
4 Copy the content of the extern/fs.install/bin/busybox to
images/fs.install
address@hidden:~/work/ALi_SDK/DailyBuild/linux_20120911$ cp
extern/fs.install/* images/fs.install/ -rf
5 Check the size of busybox
address@hidden:~/work/ALi_SDK/DailyBuild/linux_20120911$ ls
images/fs.install/bin/busybox -lh
-rwxr-xr-x 1 owen owen 526K 2012-09-11 21:39 images/fs.install/bin/busybox
Anything I missed when I copy ? The size is changed dramatically.
Best Regards
Yours (Owen)
************************************************
* 8652 *
* 18928021899 *
* Just do it! *
************************************************
- bug#12421: Issue of the cp on Ubuntu 10.10,
owen . zhao <=