Date: Thu, 23 Jan 2003 16:12:01 -0800 From: Juli Mallett <jmallett@FreeBSD.org> To: current@FreeBSD.org Subject: Re: Test this! Patch to make newfs(8) use libufs. Message-ID: <20030123161201.A68445@FreeBSD.org> In-Reply-To: <20030123154921.A66976@FreeBSD.org>; from jmallett@FreeBSD.org on Thu, Jan 23, 2003 at 03:49:21PM -0800 References: <20030123142924.A61481@FreeBSD.org> <Pine.BSF.4.21.0301231507540.73010-100000@root.org> <20030123153811.A66302@FreeBSD.org> <20030123154921.A66976@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* De: Juli Mallett <jmallett@FreeBSD.org> [ Data: 2003-01-23 ] [ Subjecte: Re: Test this! Patch to make newfs(8) use libufs. ] > I just went to do this, and found that pwrite is failing, saying EBADF. > Could this be because of the failed ioctl? I'm not sure why this is > happening. Any thoughts would be appreciated. It was because bwrite/sbwrite were wrong wrt which opened things writable. Now the patch at the URL elsewhere in this thread works. The remaining bug was that disk.d_bsize had to be set to the sectorsize, or things to work as newfs needs them to. Where can I pick up my dunce cap? Here's the URL once more: http://people.freebsd.org/~jmallett/newfs-libufs.diff Thanx, juli. -- Juli Mallett <jmallett@FreeBSD.org> AIM: BSDFlata -- IRC: juli on EFnet. OpenDarwin, Mono, FreeBSD Developer. ircd-hybrid Developer, EFnet addict. FreeBSD on MIPS-Anything on FreeBSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030123161201.A68445>