bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tim Waugh <address@hidden>] directory mounted with --bind causes cp -R


From: Jim Meyering
Subject: [Tim Waugh <address@hidden>] directory mounted with --bind causes cp -R to fail
Date: Mon, 31 Mar 2003 21:54:52 +0200

The original appears to have been delayed or lost --
maybe by the list-management software -- so I'm resending this.

  Date: Mon, 31 Mar 2003 14:17:08 +0100
  From: Tim Waugh <address@hidden>
  To: address@hidden
  Subject: directory mounted with --bind causes cp -R to fail
  Message-ID: <address@hidden>

  Original bug report at:
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=86302

  Under Linux it is possible to have a special 'bind' mount type, which
  has the effect of remounting part of the file hierarchy somewhere
  else.  But this confuses 'cp --preserve=links':

  Run these commands as root:
    mkdir -p src/{x,y}
    mount --bind src/x src/y
    cp --archive --one-file-system src dst

  Is this a cp bug, or expected behaviour?

  Tim.
  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]