From owner-freebsd-current@FreeBSD.ORG Fri Jan 23 01:50:14 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC53516A4CE for ; Fri, 23 Jan 2004 01:50:14 -0800 (PST) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7606743D45 for ; Fri, 23 Jan 2004 01:50:09 -0800 (PST) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 6FFF61FFACC; Fri, 23 Jan 2004 10:50:08 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id D69641FFACB; Fri, 23 Jan 2004 10:50:06 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 2E305155AB; Fri, 23 Jan 2004 09:44:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 23BF015388; Fri, 23 Jan 2004 09:44:39 +0000 (UTC) Date: Fri, 23 Jan 2004 09:44:39 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Colin Percival In-Reply-To: <6.0.1.1.1.20040123091146.047cee70@imap.sfu.ca> Message-ID: References: <6.0.1.1.1.20040123091146.047cee70@imap.sfu.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: FreeBSD current mailing list Subject: Re: cp file with zero size: EINVAL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2004 09:50:15 -0000 On Fri, 23 Jan 2004, Colin Percival wrote: > At 09:08 23/01/2004, Bjoern A. Zeeb wrote: > >I am running a kernel about a week old (HEAD) and some world from > >around 22 Sep. For some reason I had not installed world yet (though > >built). > > > >Now I am seeing this: > > > >bz@host:~> touch abc > >bz@host:~> ls -l abc > >-rw-rw-r-- 1 bz staff 0 Jan 23 08:51 abc > >bz@host:~> cp abc abd > >cp: abc: Invalid argument > > I suspect that this problem was fixed by the following commit; try aah. that had been the commit.. > using a more recent cp and tell us if it's still broken. % cd /usr/obj/u2/src/HEAD/compile-20040116-01/ % touch abc % ./cp abc abd % echo $? 0 works ok. so installing the already built world will fix this. thanks. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/