From owner-freebsd-stable Sat Aug 28 10:12:27 1999 Delivered-To: freebsd-stable@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 0229615601 for ; Sat, 28 Aug 1999 10:12:20 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.9.3/8.9.3) with ESMTP id KAA69090; Sat, 28 Aug 1999 10:12:18 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Sat, 28 Aug 1999 10:12:18 -0700 (PDT) From: Doug White To: "Jordan K. Hubbard" Cc: stable@FreeBSD.ORG Subject: Re: Interesting way to crash a 3.2-stable box... In-Reply-To: <30558.935833134@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 28 Aug 1999, Jordan K. Hubbard wrote: > A user who may well have been smoking crack at the time but has > nonetheless found an "interesting" bug sent me this procedure: > > Use this small perl script to create a file with 3000 spaces in it: > > #!/usr/bin/perl > open FOO, ">foo.img" or die "can't open foo; $!\n"; > for ($i=0;$i<3000;$i++){print FOO " ";} > close FOO; > > [I'm sure there are easier ways, but since he already provided a script] > > Now vnconfig the foo.img file: > > # vnconfig -c /dev/vn0 foo.img > > Now attempt to disklabel it (again, I didn't say this made *sense* :) > > # disklabel -B -w /dev/vn0 minimum > > > > That isn't right, is it? :-) I've been building boot floppies on PicoBSD with recent -STABLEs with no problems, although PicoBSD zero-fills the file with dd instead of using spaces (0x20). This is known to not work on -current, though. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message