From owner-freebsd-questions@FreeBSD.ORG Fri Apr 28 13:43:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6428316A400 for ; Fri, 28 Apr 2006 13:43:00 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0DFC43D49 for ; Fri, 28 Apr 2006 13:42:59 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so1344667wxc for ; Fri, 28 Apr 2006 06:42:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GwGn8V78At87YWTSn61HTOqoCpuIg3OKwoDqP4rjQhDW4j10hxXOzGO69sMJAiw6OnxzKamZKtcdseiybmgEVy3a9xkpDfB0UMHu1c7nWb4eJjDVTlNJIxpc7Ij1hVni3piUEMf+f4aDSU5rilpQ0YLtfRyh79Y9LIXGqmbALvU= Received: by 10.70.94.10 with SMTP id r10mr2779464wxb; Fri, 28 Apr 2006 06:42:58 -0700 (PDT) Received: by 10.70.76.10 with HTTP; Fri, 28 Apr 2006 06:42:58 -0700 (PDT) Message-ID: <80f4f2b20604280642x132ddd28k433d97edc5ef3ee6@mail.gmail.com> Date: Fri, 28 Apr 2006 09:42:58 -0400 From: "Jim Stapleton" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: rsnapshot: /bin/cp failed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 13:43:00 -0000 Anyone know what would cause this? I am on a 6.0 system, an installed rsnapshot via ports. It looks like it wants to use the "-a" option, and cp doesn't like that, what's the fix? Thanks, -Jim Stapleton sjss@aragorn 09:19:03 (0) ~ > sudo /usr/local/bin/rsnapshot hourly cp: illegal option -- a usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file target_file cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file ... target_directory ---------------------------------------------------------------------------= - rsnapshot encountered an error! The program was invoked with these options: /usr/local/bin/rsnapshot hourly ---------------------------------------------------------------------------= - ERROR: /bin/cp failed. Perhaps this is not GNU cp? ERROR: Error! cp_al("/media/backup/hourly.0/", "/media/backup/hourly.1/")