Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Many small vdr.??? files with nfs!
Hello Klaus,
i will fix it, but in a few days, when i have the time to spend, i go to
the newest vdr version.
First of all ist nice to have a ´good infrastructure´ for vdr, with big
disks in the cellar and a ´sneaky´ vdr-box. ;-)
Christoph
Klaus Schmidinger wrote:
>
> Christoph Ackermann wrote:
> >
> > Hello vdr@linuxtv.org!
> >
> > Since i use vdr in a distributed configuration with nfs mountpoint for
> > /video, i observed a tricky behaviour. All recordings are written into
> > small vdr.??? files of about 20MB to 60MB - For half an hour near 30
> > files. Now, if i do a cut from the beginning to the end, the result is
> > one (or more) regular file(s) of about 1GB.
> >
> > At the moment i use DVB0.82/VDR0.72 and kernel 2.2.16 for my VDR-Box and
> > SuSE7.1 for nfs-server with kernel-nfs 2.2.18
> >
> > Does somebody observed the same behaviour and can tell me how? Maybe
> > rcp.nfsd makes this mistake!?
>
> That bug has been fixed in VDR 0.80:
>
> --- tools.c 2001/04/01 14:13:36 1.32
> +++ tools.c 2001/04/22 10:31:29 1.33
> @@ -120,7 +120,7 @@
> return buf;
> }
>
> -#define DFCMD "df -m '%s'"
> +#define DFCMD "df -m -P '%s'"
>
> uint FreeDiskSpaceMB(const char *Directory)
> {
> @@ -132,7 +132,7 @@
> if (p) {
> char *s;
> while ((s = readline(p)) != NULL) {
> - if (*s == '/') {
> + if (strchr(s, '/')) {
> uint available;
> sscanf(s, "%*s %*d %*d %u", &available);
> Free = available;
>
> Klaus
> --
> _______________________________________________________________
>
> Klaus Schmidinger Phone: +49-8635-6989-10
> CadSoft Computer GmbH Fax: +49-8635-6989-40
> Hofmark 2 Email: kls@cadsoft.de
> D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
> _______________________________________________________________
--
"... and all the hippies work for IBM or take control ..."
Joe Jackson - Big World, 1987
Home |
Main Index |
Thread Index