2008/6/21 ÀîêÍ <<a href="mailto:lihuihust@gmail.com">lihuihust@gmail.com</a>>:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all:<br>    I am using Centos 5.1. But now I have a problem when unmount a removable usb hard disk with right click and choose unmount volume command. When I did that, system reminds me with a message like this:Cannot unmount volume "xxx", Detail: Cannot remove directory, "xxx" represents a temporary directory made when the system auto mount the disk in /media, and "xxx" is simple-chinese. But in fact, the volume has been removed because there're no files or folder in xxx.<br>

    Because the file system type of the hard disk is NTFS, £É install ntfs-3g and add a script named "mount.ntfs" in /sbin, the content of the script is <br>#!/bin/sh<br>export LANG=zh_CN.UTF-8<br>exec /sbin/mount.ntfs-3g "$@"<br clear="all">

    I googled this problem for many days and didn't find any way to solve this problem. Maybe it is a bug. I hope someone can help me. Thank you.<br><font color="#888888">-- <br>Sunny Lee
</font><br>_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
<br></blockquote></div><br><br>You may want to double check that all of your CTRL-ALT+Fx virtual consoles, screen sessions, and Konqueror windows do not have a folder open on the external usb drive.  For instance, could you have forgotten that in the CTRL-ALT+F1 console, you cd'd into /media/sda1/ ???  <br>
<br>i also second the lsof -a command.<br>