Displaying 1 result from an estimated 1 matches for "mntsize".
Did you mean:
  entsize
  
2003 Jul 31
0
dvd+rw-format -force problem
...9; error.
A little tracing in the source, shows that the following patch, will work - 
but is a not-so-pretty work-around:
--- transport.hxx.orig  Fri Jul 11 12:57:00 2003
+++ transport.hxx       Thu Jul 31 21:05:07 2003
@@ -483,8 +483,15 @@
       struct statfs *mntbuf;
       int            ret=0,mntsize,i;
-       if (f==-1) f=fd;
-
+       if (f==-1)
+       {
+               f=fd;
+               if (f==-1)
+               {
+                       f = open(filename, O_RDONLY|O_NONBLOCK);
+                       fd = f;
+               }
+       }
        if (fstat (f,&fsb) < 0)...