GNU bug report logs - #14383
cp --one-file-system / will not copy whole root filesystem

Previous Next

Package: coreutils;

Reported by: Pavel Machek <pavel <at> ucw.cz>

Date: Fri, 10 May 2013 16:05:02 UTC

Severity: wishlist

Full log


Message #19 received at 14383 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 14383 <at> debbugs.gnu.org, Pavel Machek <pavel <at> ucw.cz>
Subject: Re: bug#14383: cp --one-file-system / will not copy whole root
	filesystem
Date: Fri, 10 May 2013 22:10:35 +0200
Pádraig Brady <P <at> draigBrady.com> writes:

> I suppose you could give the advice to ensure that all
> mounts in a tree should be unmounted to ensure that
> the base file system contents are copied.

The easiest way to uncover all over-mounted files of a filesystem is to
bind-mount it somewhere else.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 12 years and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.