Red Hat Bugzilla – Bug 617892
Unmounting removes mount point
Last modified: 2010-10-07 06:57:03 EDT
Description of problem:
Some unmounts cause the mount point to be removed.
Explanation: I have several USB devices in my system. When I pkug in a USB stick I can mount it, and unmount it. However, if the stick happens to be assigned /dev/sdj then the mount point on disk is removed upon unmount.
Version-Release number of selected component (if applicable):
Fedora 13, all patches up to date.
On my system: Very.
Steps to Reproduce:
1. mkdir /mnt/tmp
2. mount /dev/sdj1 /mnt/tmp
3. umount /dev/sdj1
4. ls /mnt/tmp
ls: cannot access /mnt/tmp/: No such file or directory
I know this is very weird. I really do not have a clue where to start looking.
It is very unlikely that mount is the culpit (strace umount doesn't show any unlinking either). It is probably something in my system setup. But what?
I killed the hald-addon-storage and udisks-daemon but that didn't help.
Suggestions are welcome.
did you try to
rather than /dev/sdj1?
Note that there is nothing line "rmdir <mountpoint>" in umount(8).