Subject: Rule-of-thumb for ffs overhead?
To: None <netbsd-help@netbsd.org>
From: Stephen Borrill <netbsd@precedence.co.uk>
List: netbsd-help
Date: 12/19/2005 17:14:48
Hi,

I'm wanting to create the smallest possible MFS RAM disk to hold a 
given set of files. What algorithm shall I use to determine the size 
given that I know the total size of the files and the number of files. 
(there's only about 15 files in total). Just adding 1MB has been fine 
for a while, but it's clearly not the best way of doing it. This is for a 
released embedded project based on NetBSD 3.0; I guess tmpfs isn't an 
option at this point.

-- 
Stephen