From owner-freebsd-small Mon Mar 12 19:49:57 2001 Delivered-To: freebsd-small@freebsd.org Received: from mail.cruzio.com (dsl3i239.cruzio.com [205.179.211.239]) by hub.freebsd.org (Postfix) with ESMTP id 5894C37B718 for ; Mon, 12 Mar 2001 19:49:54 -0800 (PST) (envelope-from brucem@mail.cruzio.com) Received: (from brucem@localhost) by mail.cruzio.com (8.11.3/8.11.3) id f2D4dXa07314 for freebsd-small@freebsd.org; Mon, 12 Mar 2001 20:39:33 -0800 (PST) (envelope-from brucem) Date: Mon, 12 Mar 2001 20:39:33 -0800 (PST) From: "Bruce R. MontagueBrucem" Message-Id: <200103130439.f2D4dXa07314@mail.cruzio.com> To: freebsd-small@freebsd.org Subject: fix to picobsd script DIOCGDINFO Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Using a clean FreeBSD build of a 4.3 STABLE kit cvsuped this monday (12-mar-2001), I couldn't run the "picobsd" script as-is because of a disklabel "DIOCGDINFO" ioctl error. Adding "-s labels" to the "vnconfig" in "init_fs_image()" fixed the problem: --- picobsd.original Tue Feb 20 09:09:40 2001 +++ picobsd Mon Mar 12 20:14:34 2001 @@ -610,7 +610,7 @@ dd if=/dev/zero of=${imgname} count=${imgsize} bs=1k 2> /dev/null dd if=${boot1} of=${imgname} conv=notrunc 2> /dev/null - vnconfig -c vn${VNUM} ${imgname} || fail $? no_vnconfig + vnconfig -s labels -c vn${VNUM} ${imgname} || fail $? no_vnconfig } ------- - bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message