From owner-freebsd-current@FreeBSD.ORG Fri Sep 24 05:54:49 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 DCE2916A4CE for ; Fri, 24 Sep 2004 05:54:49 +0000 (GMT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [210.226.20.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCDA443D48 for ; Fri, 24 Sep 2004 05:54:46 +0000 (GMT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by black.imgsrc.co.jp (Postfix) with ESMTP id AC1BC50BC8 for ; Fri, 24 Sep 2004 14:54:44 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [IPv6:2001:218:422:2::9999]) by black.imgsrc.co.jp (Postfix) with ESMTP id 5339350B81 for ; Fri, 24 Sep 2004 14:54:42 +0900 (JST) Date: Fri, 24 Sep 2004 14:54:42 +0900 Message-ID: <7misa4gqjh.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: Current In-Reply-To: <414A8361.2070905@DeepCore.dk> References: <7macvple1i.wl@black.imgsrc.co.jp> <414A8361.2070905@DeepCore.dk> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd 0.1 Subject: Re: acd0: FAILURE - READ_BIG MEDIUM ERROR 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, 24 Sep 2004 05:54:50 -0000 At Fri, 17 Sep 2004 08:25:37 +0200, S=F8ren Schmidt wrote: > > And, this DVD-R has a large file (3GB), and ls(1) (maybe stat(2)) > > issues an error like this: >=20 > Uhm , you cannot have file > 1G on a comliant isofs... This patch solves my problem (can handle 3GB file). Index: cd9660_vnops.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/isofs/cd9660/cd9660_vnops.c,v retrieving revision 1.101 diff -u -r1.101 cd9660_vnops.c --- cd9660_vnops.c 22 Sep 2004 18:18:26 -0000 1.101 +++ cd9660_vnops.c 24 Sep 2004 00:28:59 -0000 @@ -181,7 +181,7 @@ vap->va_ctime =3D ip->inode.iso_ctime; vap->va_rdev =3D ip->inode.iso_rdev; =20 - vap->va_size =3D (u_quad_t) ip->i_size; + vap->va_size =3D (u_quad_t)(unsigned long)ip->i_size; if (ip->i_size =3D=3D 0 && (vap->va_mode & S_IFMT) =3D=3D S_IFLNK) { struct vop_readlink_args rdlnk; struct iovec aiov; --=20 Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project