0
We have several HP Thin-Clients of type t5545 in use. We redirect USB-Media to the terminalserver. Because the t5545 runs a debian customized by hp, we can treat it like a debian in some way.
First, I'll explain how usb-redirection is configured:
- automatically mount it to /tmp/tmpfs/media
- /tmp/tmpfs/media is redirected as disk "Z" via rdesktop-parameter -r disk:sharename=path
- in case of removed usb-media udev will run a script to umount -l the device and delete the mountpoint
The environment:
- Thin-Clients run linux: root@mac-addr:/tmp/tmpfs/media# uname -a
Linux mac-addr 2.6.26-2-686 1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux - Terminalserver runs Windows Server 2008 R2
Problem: When users write to usb-media, it seams to be written instantly. But in fact the file needs a few seconds to be written even if it has only a few kb. Server 2008 R2 doesn't show any hint about that. If the user removes his usb-media directly after writing to the usb-media, the file won't be at his usb-media.
Question: Is there anything I can do to inform the user about the write-progress? If possible, that shouldn't be a third-party tool that has to be installed on the thinclient because there's very less space.
Edit: No ideas? The solution shouldn't be like the windows-7-known save removal of usb-media. It would be fine if there's even a notification if the write-progress is ongoing or ready.
Update:
No solution yet! There's still the chance to get the 150 reputation points!
I need one of these 2 points:
- a way to inform the user when the write-process is done, or...
- a script/little application with no dependencies (because the flash-disk is almost full) that allows save removal of usb-media
Edit:
I would really like to give that bounty away. Hurry up ;)
Wait, Rdesktop to 2008 R2? I have never made this to work! It always disconnects instantly... – sinni800 – 2011-05-16T11:23:55.920
Yes it works... mostly... According to
dpkg -l | grep rdesktop
there's rdesktop 1.6.0-1.36 customized by hp installed. They had to apply a patch to resolve some usb-redirection errors like not beeing able to delete non-empty-directories and an additional udev-rule to unmount usb-media automatically when it's unplugged. But apart from that, it works. – wullxz – 2011-05-16T12:37:09.513Huh, last time I tried it it didn't work, I have to try again... – sinni800 – 2011-05-16T13:49:07.997