Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2001 20:39:33 -0800 (PST)
From:      "Bruce R. MontagueBrucem" <brucem@mail.cruzio.com>
To:        freebsd-small@freebsd.org
Subject:   fix to picobsd script DIOCGDINFO
Message-ID:  <200103130439.f2D4dXa07314@mail.cruzio.com>

next in thread | raw e-mail | index | archive | help


 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103130439.f2D4dXa07314>