I am using 'cp -l' to copy a large file structure. I was a bit surprised
that 'cp -l' used 300 MB RAM where as 'cp -a' used around 1 MB.

I guess the reason is that 'cp -l' needs to remember what i-nodes it has
seen before, where as 'cp -a' does not have to do this. If that is the
case then you can hardly consider it a bug. I would, however, very much
like that the manual points this out in the '-l' section:

       -l, --link
              link files instead of copying. This will require
              approximately XX bytes of RAM pr file.

/Ole
-- 
If some genie offered you three wishes, would not your first one be,
"Tell me, please, what is it that I want the most!"
  -- Marvin Minsky in
     freenet://[EMAIL PROTECTED]/truenames//



_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to