[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DevFS holy war



On Tue, Nov 06, 2001 at 11:20:23PM -0900, Ethan Benson wrote:
> what for setting CONFIG_FS_DEVFS=n solves the problem very nicely, and
> without extra package/daemon running as root bloat.
> 

>From /usr/src/linux/Documentation/filesystems/devfs/README (which I'm sure
you've read):

The cost of devfs is a small increase in kernel code size and memory
usage. About 7 pages of code (some of that in __init sections) and 72
bytes for each entry in the namespace. A modest system has only a
couple of hundred device entries, so this costs a few more
pages. Compare this with the suggestion to put /dev on a <a
href="#why-faq-ramdisc">ramdisc.

On a typical machine, the cost is under 0.2 percent. On a modest
system with 64 MBytes of RAM, the cost is under 0.1 percent.  The
accusations of "bloatware" levelled at devfs are not justified.
^^^^^^^^^^^ ^^ ^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^^ ^^^ ^^^ ^^^^^^^^^               

-- 
Jacob Kuntz
http://www.lucidpark.net/



Reply to: