linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bcp command not installed by Makefile
@ 2010-06-11  1:46 Palmer Cox
  2010-06-11 12:12 ` Hubert Kario
  0 siblings, 1 reply; 4+ messages in thread
From: Palmer Cox @ 2010-06-11  1:46 UTC (permalink / raw)
  To: linux-btrfs

Is there a reason the bcp command isn't installed when running make
install? =A0If 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 :
=A0install: $(progs) install-man
=A0=A0 =A0 =A0 =A0$(INSTALL) -m755 -d $(DESTDIR)$(bindir)
=A0=A0 =A0 =A0 =A0$(INSTALL) $(progs) $(DESTDIR)$(bindir)
+ =A0 =A0 =A0 $(INSTALL) -m755 bcp $(DESTDIR)$(bindir)
=A0=A0 =A0 =A0 =A0if [ -e btrfs-convert ]; then $(INSTALL) btrfs-conver=
t
$(DESTDIR)$(bindir); fi

=A0-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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: bcp command not installed by Makefile
  2010-06-11  1:46 bcp command not installed by Makefile Palmer Cox
@ 2010-06-11 12:12 ` Hubert Kario
  2010-06-11 23:01   ` Palmer Cox
  2010-06-16  7:02   ` Chris Samuel
  0 siblings, 2 replies; 4+ messages in thread
From: Hubert Kario @ 2010-06-11 12:12 UTC (permalink / raw)
  To: Palmer Cox; +Cc: linux-btrfs

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.
>=20
> -Palmer Cox

Does 'bcp' can do anything additional that the 'cp --reflink=3Dalways'?

--=20
Hubert Kario
QBS - Quality Business Software
02-656 Warszawa, ul. Ksawer=C3=B3w 30/85
tel. +48 (22) 646-61-51, 646-74-24
www.qbs.com.pl

System Zarz=C4=85dzania Jako=C5=9Bci=C4=85
zgodny z norm=C4=85 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bcp command not installed by Makefile
  2010-06-11 12:12 ` Hubert Kario
@ 2010-06-11 23:01   ` Palmer Cox
  2010-06-16  7:02   ` Chris Samuel
  1 sibling, 0 replies; 4+ messages in thread
From: Palmer Cox @ 2010-06-11 23:01 UTC (permalink / raw)
  To: Hubert Kario; +Cc: linux-btrfs

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? =A0If 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=3Dalways=
'?
>
> --
> Hubert Kario
> QBS - Quality Business Software
> 02-656 Warszawa, ul. Ksawer=F3w 30/85
> tel. +48 (22) 646-61-51, 646-74-24
> www.qbs.com.pl
>
> System Zarz=B1dzania Jako=B6ci=B1
> zgodny z norm=B1 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bcp command not installed by Makefile
  2010-06-11 12:12 ` Hubert Kario
  2010-06-11 23:01   ` Palmer Cox
@ 2010-06-16  7:02   ` Chris Samuel
  1 sibling, 0 replies; 4+ messages in thread
From: Chris Samuel @ 2010-06-16  7:02 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1: Type: Text/Plain, Size: 858 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 482 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-16  7:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-11  1:46 bcp command not installed by Makefile Palmer Cox
2010-06-11 12:12 ` Hubert Kario
2010-06-11 23:01   ` Palmer Cox
2010-06-16  7:02   ` Chris Samuel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).