Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 15:09:14 -0800
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Poul-Henning Kamp <phk@freebsd.org>
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>
In-Reply-To: <15530.1043880360@critter.freebsd.dk>; from phk@freebsd.org on Wed, Jan 29, 2003 at 11:46:00PM %2B0100
References:  <15530.1043880360@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
* De: Poul-Henning Kamp <phk@freebsd.org> [ 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 <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?20030129150914.A93838>