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:  [EMAIL PROTECTED]    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to