From owner-freebsd-current Wed Jan 29 15: 9:16 2003 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id EAE1F37B401; Wed, 29 Jan 2003 15:09:14 -0800 (PST) Date: Wed, 29 Jan 2003 15:09:14 -0800 From: Juli Mallett To: Poul-Henning Kamp Cc: juli@freebsd.org, current@freebsd.org Subject: Re: =?iso-8859-1?Q?Newfs_b=F6rked:__Kills_make_release_in_strange_ways=2E?= Message-ID: <20030129150914.A93838@FreeBSD.org> References: <15530.1043880360@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <15530.1043880360@critter.freebsd.dk>; from phk@freebsd.org on Wed, Jan 29, 2003 at 11:46:00PM +0100 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes 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 * De: Poul-Henning Kamp [ Data: 2003-01-29 ] [ Subjecte: Newfs börked: Kills make release in strange ways. ] > > Newfs is börked right now (see below), and that kills make release > in really strange ways. It looks like it was this typo, which didn't show up as being a problem as I never tried to boot (fsck) off one of these volumes: %%% Index: mkfs.c =================================================================== RCS file: /home/ncvs/src/sbin/newfs/mkfs.c,v retrieving revision 1.68 diff -d -u -r1.68 mkfs.c --- mkfs.c 27 Jan 2003 07:24:32 -0000 1.68 +++ mkfs.c 29 Jan 2003 22:59:32 -0000 @@ -842,7 +842,7 @@ else ((struct ufs2_dinode *)iobuf)[ino_to_fsbo(&sblock, ino)] = ip->dp2; - wtfs(d, sblock.fs_size, (char *)iobuf); + wtfs(d, sblock.fs_bsize, (char *)iobuf); } /* %%% Also, the ioctl stuff was giving me trouble, I thought this was due to my local configuration being a mix of rather old and rather new bits (my newfs in /sbin was from October before my libufs version), but I was just not doing writable disks Right At All in libufs, really. Now there's a command to do it, used by bwrite, etc. I'll be committing that in a sec. Then I'll sit on newfs again for a few days. BTW, I ended up with the few of these: Zone md99 was not empty. Lost 1 pages of memory. Thanx, juli. -- Juli Mallett 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