Date: Wed, 16 Jan 2002 10:11:10 -0800 (PST) From: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net> To: dillon@apollo.backplane.com (Matthew Dillon) Cc: drosih@rpi.edu (Garance A Drosihn), wkb@freebie.xs4all.nl (Wilko Bulte), cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/release/sysinstall install.c label.c sysinstall.h Message-ID: <200201161811.KAA04336@gndrsh.dnsmgr.net> In-Reply-To: <200201072341.g07Nf5c56040@apollo.backplane.com> from Matthew Dillon at "Jan 7, 2002 03:41:05 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
I'm a bit behind on email, but just in case someone cares about historical behavior the rule use to be ``swap should never use more than 10% of a spindles space''. IIRC this goes back to the mkfs V7 code. > :... > :that it will result in too little disk space for the other partitions. > :I imagine that deciding on a good algorithm will be more work than > :implementing it once it's decided upon... :-) > : > :Is 'available_space' the size of the entire available partition? I'm > :thinking it should be something like: > : > : non-swap partitions should get at LEAST as much as they would > : have gotten under the previous calculation > : then the maximum size of the swap partition should be some > : fraction of the space left after subtracting that amount > : from the total size of the partition. > : then after getting the size for the swap-partition defined, go > : back and calculate sizes for non-swap partitions. > : ... -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201161811.KAA04336>