[Mageia-sysadm] [1827] add small maintdb script

Michael Scherer misc at zarb.org
Fri Jul 29 17:11:00 CEST 2011


Le vendredi 29 juillet 2011 à 16:55 +0200, nicolas vigier a écrit :
> On Sat, 16 Jul 2011, Michael Scherer wrote:

> > > +function maintgetall()
> > > +{
> > > +    cd "$MAINTDBDIR"
> > > +    for file in *
> > 
> > Wouldn't this one have problem the day we have too much maintainers ?
> 
> too much packages ?

Mhh, yes :)

> > ( even if "too much" is, according to my test, more than 60000 so this
> > is just a retorical question )
> 
> According to tune2fs we have 1148096 free inodes, so that should be
> enough. I don't know the limit for the "*" expansion.

There used to be one, but maybe it was just in a time when kernel 2.4
was hype :) 
( or maybe that was on a bsd or os x ). 
-- 
Michael Scherer



More information about the Mageia-sysadm mailing list