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

Re: what's the best small shell for initrd?



On Tue, Jul 17, 2001 at 09:28:03PM +0200, Russell Coker wrote:
> As an aside, why does sleep link with so many things?  It seems strange for 
> such a small program to take 1500K of memory (500K RSS) and link with 4 
> shared libraries when essentially all it does is parse argv and make a single 
> system call...

For clock_gettime, which is only in librt.  Much higher resolution
timer.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



Reply to: