Date: Sat, 28 Aug 1999 10:12:18 -0700 (PDT) From: Doug White <dwhite@resnet.uoregon.edu> To: "Jordan K. Hubbard" <jkh@zippy.cdrom.com> Cc: stable@FreeBSD.ORG Subject: Re: Interesting way to crash a 3.2-stable box... Message-ID: <Pine.BSF.4.10.9908281009570.52462-100000@resnet.uoregon.edu> In-Reply-To: <30558.935833134@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > > <KABOOM - watch your system panic> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908281009570.52462-100000>