Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Speed up the opening of Recordingsmenu ?
Maybe we should try a different approach:
I tested xfs a while ago.
IIRC the find command was extremely fast even on large fs.
This is a feature of the implementation SGI chose for xfs.
Anybody willing to try ?
CU,
Christian.
> -----Original Message-----
> From: vdr@speedway.org [mailto:vdr@speedway.org]
> Sent: Wednesday, July 10, 2002 10:17 AM
> To: vdr@linuxtv.org
> Subject: [vdr] Re: Speed up the opening of Recordingsmenu ?
>
>
> > I donīt think so - because with this options (if i
> understand it right) you can
> > set how "deep" into the directory structure FIND sould search.
> >
> > But thatīs not the Problem - the Problem is that the are
> 001.vdr, 002.vdr 00x.vdr in
> > the /video0 direcory but (for example) 002 and 003 are
> links to /video2 /video4 usw...
>
> No, the find command
> #define FINDCMD "find %s -follow -type d -name '%s' 2> /dev/null"
>
> does not look for files but for directories (-type d).
> If you have this:
>
> /video/film1/2002-06-14.18:10.50.50.rec/001.vdr
>
> the find command just has to go into the dir /video/film1/ to
> find the
> relevant directory.
> Its is not nessesary to go into
> /video/film1/2002-06-14.18:10.50.50.rec/
>
> From the things I saw on a quick look it should be possible to use
> -maxdepth x (depending on your directory stucture)
>
> Be carefull if you use subdirectories for series or so, this
> might break
> something.
>
> Thilo
>
> --
> Thilo Wunderlich - tw@7eins.net - www.7eins.de
>
>
>
Home |
Main Index |
Thread Index