* De: Juli Mallett <[EMAIL PROTECTED]> [ 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message