[Asterisk-Users] Blocking the 'Do Not Call" List

Steven Critchfield critch at basesys.com
Thu Aug 12 11:41:22 MST 2004


On Thu, 2004-08-12 at 11:15, Richard Lyman wrote:
> *snipped
> > Speaking of which, how about a simple structure of directories, take the
> > first number for each entry in the dnc, create a directory (dnc/5), then
> > take the next number (dnc/5/5) and so on. Eventually you get
> > dnc/5/5/5/1/2/3/4.
> > 
> > When you need to dial the number, you simply check if the directory
> > exists, if( -d dnc/5/5/5/1/2/3/4)
> > 
> > If it exists, then skip it, if any directory doesn't exist, then call
> > it.
> > 
> > I am pretty sure that any filesystem should be able to handle 10
> > directories in a directory, with 10 levels of sub-directory, each with a
> > maximum of 10 directories.... (How many number do US numbers have??)
> > 
> *snipped
> by the time the National DNC kick off date came around (what was 
> it Oct 1, 2003 or there abouts) there was 58 Million people 
> signed up for the NDNC.  needless to say within the first month 
> that was well over 60 Million.

Interesting idea, but your trouble won't be in directory depth but
rather Inode usage. Check "df -i" to see how many Inodes your FS
currently has. I seem to remember XFS doesn't have a Inode restriction,
but Ext2/3 does.

-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list