Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 1996 17:35:04 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@freebsd.org, phk@critter.tfs.com
Cc:        CVS-committers@freebsd.org, cvs-sys@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/vn vn.c
Message-ID:  <199601150635.RAA09810@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>   Fixed an overflowing multiplication in vnstrategy() by replacing it with
>>   the standard macro dbtob().  The non-B_PAGING case now works well enough
>>   to run newfs on a 32GB virtual drive.

>Say WHAT ????

>where did you get that one Bruce ?

	fd = creat("32GB virtual drive", 0600);
	lseek(fd, (off_t)32 * 1024 * 1024 * 1024 - 1, SEEK_SET);
	write(fd, "", 1);

Bruce



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