Empty directory not getting deleted in external harddisk

Bruce Pieterse octoquadza at gmail.com
Tue Oct 25 18:14:12 UTC 2011


On Tue 25 Oct 2011 19:55:02 SAST, Rashkae wrote:
> On 10/25/2011 01:37 PM, Linux Tyro wrote:
>> On Tue, Oct 25, 2011 at 1:08 PM, Linux Tyro<ubuntu.bkn at gmail.com> wrote:
>>
>>
>>> 43c9f2721ed24ab138b75e5e -> databases
>>> -> d74157950031f86b102e1759dcd53fdb
>>> (it is directory) (it is also a
>>> directory) (it is a file, I don't know which
>>> format it is)
>>>
>>> In the above the last two ('databases' and
>>> 'd74157950031f86b102e1759dcd53fdb') I am able to delete (but each time
>>> whenever I plug the hard disk) but the first one
>>> ('43c9f2721ed24ab138b75e5e'), a directory doesn't get deleted even 
>>> after
>>> emptying it (that is, even after deleting the other two).
>>>
>> The problem still persists!
>>
>
> Are you looking at the directories/files created in the /media 
> directory? If so, you don't want to be deleting those. They are auto 
> created when a removable drive is plugged in so the Operating system 
> has somewhere to mount the disk. Those directories are required to 
> allow the system to access the disks, and are added/removed 
> automatically by the Ubuntu system.
>
> If this is not what you mean, then we'll need more information.
>

Hi,

What is the location/full path of these files? Have you tried 
unmounting the device and running fsck against it if it is an ext2/3/4 
filesystem?

-- 
Best of luck,

Bruce




More information about the ubuntu-users mailing list