At Thu, 22 Jan 2009 19:26:42 +0900,
NAKAJI Hiroyuki wrote:
> > rsyncの-Hオプション使ってコピーしてみたらどうでしょう?
>
> その場合、-a は使えないようです。
% rsync -vH /mnt/ /home/toDirectry/cdrom
skipping directory .
sent 8 bytes received 12 bytes 40.00 bytes/sec
total size is 0 speedup is 0.00
となります;
$ ls -lP rescue
total 435454
-r-xr-xr-x 393 root wheel 3404240 11 26 16:20 [
-r-xr-xr-x 393 root wheel 3404240 11 26 16:20 atacontrol
-r-xr-xr-x 393 root wheel 3404240 11 26 16:20 atm
-r-xr-xr-x 393 root wheel 3404240 11 26 16:20 atmconfig
...
$ ls -lH rescue
total 435454
-r-xr-xr-x 393 root wheel 3404240 11 26 16:20 [
-r-xr-xr-x 393 root wheel 3404240 11 26 16:20 atacontrol
-r-xr-xr-x 393 root wheel 3404240 11 26 16:20 atm
-r-xr-xr-x 393 root wheel 3404240 11 26 16:20 atmconfig
...
$ du -m rescue
426 rescue
ですが
$ ls -lP stand
lr-xr-xr-x 1 root wheel 7 11 26 21:29 stand -> /rescue
$ ls -lH stand
total 423996
-r-xr-xr-x 121 root wheel 3568364 9 28 18:49 [
-r-xr-xr-x 121 root wheel 3568364 9 28 18:49 atacontrol
-r-xr-xr-x 121 root wheel 3568364 9 28 18:49 atmconfig
-r-xr-xr-x 121 root wheel 3568364 9 28 18:49 badsect
...
$ du -m stand
0 stand
です。stand はシンボリックリンクで(?)、rescueはしっかり(?)、でしょうか?
--
/ Name : Dobashi Mitsuyoshi /
/ E-mail : [email protected] /