Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: SCP never stops, generates gigabytes of garbage

  1. #11
    Join Date
    Sep 2006
    Beans
    Hidden!

    Re: SCP never stops, generates gigabytes of garbage

    Quote Originally Posted by Yannick Le Saint kyncani View Post
    Also, ~/.wine/dosdevices are symlinks to various locations. I'd bet one of them is pointing to /
    We have a winner!

    I ran the "find $HOME -type l -print0 | xargs -0 ls -l" command you suggested, and buried in the output was the following:
    Code:
    lrwxrwxrwx 1 gnemo gnemo   1 2009-06-12 13:55 /home/gnemo/.ies4linux/ie6/dosdevices/z: -> /
    lrwxrwxrwx 1 gnemo gnemo   1 2008-08-16 11:41 /home/gnemo/.wine/dosdevices/z: -> /
    So, you're absolutely right, Yannick. Wine created links to /, and the scp command followed those. If I'd left it going it would presumably have copied the entire / tree, including /home/gnemo, and then found those same symlinks inside it...endless recursive file copying, anyone?

    What I've learned from this: if you use Wine and let it set up its fake Windows drives in your user directory, you then cannot use scp -prv to backup your home directory.

    I'll go ahead and mark the thread "solved". Thanks to everyone who chimed in.

    -Flieslikeabeagle
    Last edited by gnemo; September 13th, 2009 at 06:05 AM.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •