[ rdesktop-Bugs-3510061 ] rdesktop + autofs: not enough space

SourceForge.net <[email protected]> Thu, 22 Mar 2012 05:04:00 -0700
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
Bugs item #3510061, was opened at 2012-03-22 05:04
Message generated for change (Tracker Item Submitted) made by broom_
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381347&aid=3510061&group_id=24366

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Internals
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Anna Martynova (broom_)
Assigned to: Nobody/Anonymous (nobody)
Summary: rdesktop + autofs: not enough space

Initial Comment:
I have server with Windows Server 2008 R2 Datacenter, Service Pack 1. The client is Linux with rdesktop 1.7.x.
The client redirects a directory which is managed by autofs.
So, the command line looks like this:

rdesktop -r disk:flash=/media/ <ip>:<port>

After connecting (or before) I insert my usb flash drive and autofs mounts it to /media/sdb4.
In terminal session I open two file manager windows ("My computer"). In one I open my redirected directory and enter "sdb4" directory. In the second window I open any random directory containing some files. 
Then I try to drag-and-drop some file to directory "sdb4". And I get a message:

"There is not enough space on flash on localhost. You need and additional 16,0 KB to copy these files".

The size of needed space is always exactly equals the file size.
If I disable autofs, copying files works without problems.

I found interesting old patch: http://marc.info/?l=rdesktop-devel&m=120277506220735

It seems to be already integrated to rdesktop. But this patch affects function "disk_set_information". I can't find the place where this check performs (or should be done) when the new file is created.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381347&aid=3510061&group_id=24366

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure