Hi,

I need to complete my solution. The above patch is for the server-side
and the following fixes the one for the client (chroot):

{{{
--- ltspfs-1.1/src/ltspfsd_functions.c
+++ ltspfs-1.1/src/ltspfsd_functions.c
@@ -895,8 +895,8 @@
     xdr_int(&out, &i);                           /* dummy length */
     i = LTSP_STATUS_OK;                          /* OK status */
     xdr_int(&out, &i);
-    xdr_int(&out, &f_type);                      /* type of fs */
-    xdr_int(&out, &f_bsize);                     /* optimal transfer block sz 
*/
+    xdr_int(&out, &stbuf.f_type);                      /* type of fs */
+    xdr_int(&out, &stbuf.f_bsize);                     /* optimal transfer 
block sz */
     xdr_u_longlong_t(&out, &stbuf.f_blocks);     /* total data blocks in fs */
     xdr_u_longlong_t(&out, &stbuf.f_bfree);      /* free blks in fs */
     xdr_u_longlong_t(&out, &stbuf.f_bavail);     /* free blks avail to non-su 
*/
}}}

Still hopes this helps

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ltspfs in Ubuntu.
https://bugs.launchpad.net/bugs/1021579

Title:
  ltspfs shows wrong partition size when plug-in usb drive into thin
  client

To manage notifications about this bug go to:
https://bugs.launchpad.net/ltsp/+bug/1021579/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~edubuntu-bugs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~edubuntu-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to