logo       

[Tim Waugh <twaugh@xxxxxxxxxx>] directory mounted with --bind causes cp -R : msg#00116

gnu.core-utils.bugs

Subject: [Tim Waugh <twaugh@xxxxxxxxxx>] directory mounted with --bind causes cp -R to fail

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 <twaugh@xxxxxxxxxx>
To: bug-coreutils@xxxxxxx
Subject: directory mounted with --bind causes cp -R to fail
Message-ID: <20030331131708.GH5492@xxxxxxxxxx>

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.
*/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise