From owner-freebsd-stable Sat Aug 28 2:41:45 1999 Delivered-To: freebsd-stable@freebsd.org Received: from zippy.cdrom.com (zippy.cdrom.com [204.216.27.228]) by hub.freebsd.org (Postfix) with ESMTP id 0EB0714EBF for ; Sat, 28 Aug 1999 02:41:43 -0700 (PDT) (envelope-from jkh@zippy.cdrom.com) Received: from localhost (jkh@localhost [127.0.0.1]) by zippy.cdrom.com (8.9.3/8.9.3) with ESMTP id CAA30562 for ; Sat, 28 Aug 1999 02:38:54 -0700 (PDT) (envelope-from jkh@zippy.cdrom.com) To: stable@freebsd.org Subject: Interesting way to crash a 3.2-stable box... Date: Sat, 28 Aug 1999 02:38:54 -0700 Message-ID: <30558.935833134@localhost> From: "Jordan K. Hubbard" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? :-) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message