Is there a reason the bcp command isn''t installed when running make install? If not, here is a really simple patch to add it to the install. -Palmer Cox diff --git a/Makefile b/Makefile index 525676e..e5005b0 100644 --- a/Makefile +++ b/Makefile @@ -93,6 +93,7 @@ clean : install: $(progs) install-man $(INSTALL) -m755 -d $(DESTDIR)$(bindir) $(INSTALL) $(progs) $(DESTDIR)$(bindir) + $(INSTALL) -m755 bcp $(DESTDIR)$(bindir) if [ -e btrfs-convert ]; then $(INSTALL) btrfs-convert $(DESTDIR)$(bindir); fi -include .*.d -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Friday 11 of June 2010 03:46:11 Palmer Cox wrote:> Is there a reason the bcp command isn''t installed when running make > install? If not, here is a really simple patch to add it to the > install. > > -Palmer CoxDoes ''bcp'' can do anything additional that the ''cp --reflink=always''? -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl System Zarządzania Jakością zgodny z normą ISO 9001:2000 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
I guess not. I thought that bcp was letting me do a reflink copy of a file from one subvolume to the another while cp was not. Anyway, I looked through the code and realized that bcp was just falling back to a regular copy. oh well. -Palmer Cox On Fri, Jun 11, 2010 at 8:12 AM, Hubert Kario <hka@qbs.com.pl> wrote:> On Friday 11 of June 2010 03:46:11 Palmer Cox wrote: >> Is there a reason the bcp command isn''t installed when running make >> install? If not, here is a really simple patch to add it to the >> install. >> >> -Palmer Cox > > Does ''bcp'' can do anything additional that the ''cp --reflink=always''? > > -- > Hubert Kario > QBS - Quality Business Software > 02-656 Warszawa, ul. Ksawerów 30/85 > tel. +48 (22) 646-61-51, 646-74-24 > www.qbs.com.pl > > System Zarządzania Jakością > zgodny z normą ISO 9001:2000 >-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Fri, 11 Jun 2010 10:12:07 pm Hubert Kario wrote:> Does ''bcp'' can do anything additional that the ''cp --reflink=always''?No, but would be handy for systems where that''s not present as an option for cp (such as the current Ubuntu 10.04 release). Just noticed that bcp isn''t present in the btrfs-tools package in that release either: $ apt-cache policy btrfs-tools btrfs-tools: Installed: 0.19-8 Candidate: 0.19-8 Version table: *** 0.19-8 0 500 http://mirror.linux.org.au/ubuntu/ lucid/universe Packages 500 http://mirrors.uwa.edu.au/ubuntu/ lucid/universe Packages 100 /var/lib/dpkg/status cheers, Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC This email may come with a PGP signature as a file. Do not panic. For more info see: http://en.wikipedia.org/wiki/OpenPGP