From owner-freebsd-current Sun Mar 16 8:53:15 2003 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 1880237B401; Sun, 16 Mar 2003 08:53:14 -0800 (PST) Received: from gate.soum.co.jp (gate.soum.co.jp [202.221.40.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B852943F3F; Sun, 16 Mar 2003 08:53:12 -0800 (PST) (envelope-from fujita@soum.co.jp) Received: from force.soum.co.jp (force.soum.co.jp [IPv6:3ffe:501:80a:1:a00:20ff:fef0:4c9c]) by gate.soum.co.jp (8.12.8/8.12.6) with ESMTP id h2GGrC62036990; Mon, 17 Mar 2003 01:53:12 +0900 (JST) (envelope-from fujita@soum.co.jp) Received: from vanilla.soum.co.jp (vanilla.soum.co.jp [3ffe:501:80a:1:202:b3ff:fe98:8115]) by force.soum.co.jp (8.11.6/3.7W-2001122804) with ESMTP id h2GGrBx22665; Mon, 17 Mar 2003 01:53:11 +0900 (JST) Received: from localhost (localhost [::1]) by vanilla.soum.co.jp (Postfix) with ESMTP id 2BBA95498; Mon, 17 Mar 2003 01:53:11 +0900 (JST) Date: Mon, 17 Mar 2003 01:53:10 +0900 (JST) Message-Id: <20030317.015310.41632581.fujita@soum.co.jp> To: tjr@FreeBSD.ORG Cc: freebsd-current@FreeBSD.ORG Subject: Re: UDF: bad file descriptor From: FUJITA Kazutoshi In-Reply-To: <20030316165857.A74938@dilbert.robbins.dropbear.id.au> References: <20030316.052351.74752614.fujita@soum.co.jp> <20030316.060650.71086272.fujita@soum.co.jp> <20030316165857.A74938@dilbert.robbins.dropbear.id.au> X-PGP-PublicKey: http://www.soum.co.jp/~fujita/fujita-GnuPG-publickey.txt X-PGP-FingerPrint: 9956 2ECE 7E7D B425 EC2D D49E FEBB 3C5F 2C34 1ECA Organization: SOUM Corporation, JAPAN X-URL: http://www.soum.co.jp/ X-Mailer: Mew version 3.1 on Emacs 21.2 / Mule 5.0 =?iso-2022-jp?B?KBskQjgtTFobKEIvU0FLQUtJKQ==?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: Tim Robbins Subject: Re: UDF: bad file descriptor Date: Sun, 16 Mar 2003 16:58:57 +1100 Message-ID: <20030316165857.A74938@dilbert.robbins.dropbear.id.au> > The Linux driver doesn't seem to issue the special read and write commands > that the quote from the UDF spec. mentions, so I'm not sure whether > it will work. Let me know how it goes. I tried your patch. The error 'bad file descriptor' did not occur, but something strange. 'ls' reports the size exactly(maybe), but another command report it as 0(empty). # /bin/ls -l total 2269738 drw-rw-rw- 1 root wheel 2048 Mar 17 21:52 . drw-rw-rw- 4 root wheel 2048 Mar 17 21:30 .. -rw-rw-rw- 1 root wheel 61450 Mar 17 23:19 VR_MANGR.BUP -rw-rw-rw- 1 root wheel 61450 Mar 17 23:19 VR_MANGR.IFO -rw-rw-rw- 1 root wheel 2324088832 Mar 17 23:19 VR_MOVIE.VRO # file VR_MOVIE.VRO VR_MOVIE.VRO: empty # dd if=VR_MOVIE.VRO of=/dev/null 0+0 records in 0+0 records out 0 bytes transferred in 0.000016 secs (0 bytes/sec) Regards, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message