Re: cp file with zero size: EINVAL

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Fri, 23 Jan 2004 09:44:39 +0000 (UTC)
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_at_host:~> touch abc
> >bz_at_host:~> ls -l abc
> >-rw-rw-r--    1 bz       staff           0 Jan 23 08:51 abc
> >bz_at_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/
Received on Fri Jan 23 2004 - 00:50:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:39 UTC