Date: Fri, 24 Sep 2004 14:54:42 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: Current <freebsd-current@freebsd.org> Subject: Re: acd0: FAILURE - READ_BIG MEDIUM ERROR Message-ID: <7misa4gqjh.wl@black.imgsrc.co.jp> In-Reply-To: <414A8361.2070905@DeepCore.dk> References: <7macvple1i.wl@black.imgsrc.co.jp> <414A8361.2070905@DeepCore.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <kuriyama@imgsrc.co.jp> // IMG SRC, Inc. <kuriyama@FreeBSD.org> // FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7misa4gqjh.wl>