Thin client's tmpfs still mounted when external device unable to mount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ltspfs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ltspfs
Description: Ubuntu 8.04.1
Release: 8.04
I carry an ntfs USB stick. When the device is not cleanly unmounted on Windows, it won't mount correctly as a local device on an LTSP client.
Steps to reproduce:
1) Uncleanly unmount from a windows machine (pull the stick without stopping the device)
a: On a full, fat standalone Hardy box, the device won't mount with the message that the device wasn't unmounted correctly from Windows
2) Plug into a thin client
a: The device mounts on the desktop, the device name is shown correctly, but I believe it's actually the mountpoint not the device.
b: The device filesystem size is the same as the client's tmpfs (109MB), instead of the correct 16GB
c: No files show up
d: You _can_ copy files to the mountpoint and believe you're copying to the external device. These files persist across removal/insertion of the external device.
3) Pull the device, go back to windows, insert, and then cleanly unmount by stopping the device.
4) Plug into a thin client
a: The correct original external filesystem will mount with none of the files you copied to the tmpfs mount point.
Gadi says: We should actually send a signal to remove the ltspfs mount if the mount to the client fails
Committed a fix upstream (Rev 82).