Re: Empty directory not getting deleted in external harddisk



On Tue, Oct 25, 2011 at 11:25 PM, Rashkae <ubuntu@xxxxxxxxxxxxxxx> wrote:

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.


On Tue, Oct 25, 2011 at 11:44 PM, Bruce Pieterse <octoquadza@xxxxxxxxx>wrote:

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?



This is how the directories are getting created:

i) 43c9f2721ed24ab138b75e5e -> ii) databases
-> iii) d74157950031f86b102e1759dcd53f
db
(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).

i) '43c9f2721ed24ab138b75e5e' is the directory inside the usb hard-disk.
ii) 'databases' is the directory inside the directory no. i)
iii) 'd74157950031f86b102e1759dcd53f' is the file inside the directory no.
ii)

I am able to delete ii) and iii) but i) is not getting deleted. Its not on
/media (I checked with the command 'ls /media') but inside the usb
hard-disk.

I have several times unmounted the device (from the right click menu) and
several times inserted again but again the files get created [ii) and iii)]
however i) remains there.

Thx.

--
Two atoms are walking along. Suddenly, one stops. The other says, "What's
wrong?" "I've lost an electron." "Are you sure?" "I'm positive!"

===================================================
Ubuntu LTS is good <http://sites.google.com/site/whyilikeubuntu/>!
===================================================
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: Empty directory not getting deleted in external harddisk
    ... system has somewhere to mount the disk. ... In the above the last two ('databases' and 'd74157950031f86b102e1759dcd53fdb') I am able to delete but the first one, a directory doesn't get deleted even after emptying it. ... '43c9f2721ed24ab138b75e5e' is the directory inside the usb hard-disk. ... Ubuntu LTS is good! ...
    (Ubuntu)
  • Re: ubuntu-users Digest, Vol 56, Issue 402
    ... Play With Ubuntu, Now Mac Won't Boot! ... openoffice3..deb and install it). ... thanks for letting me change the magnetic patterns on your hard disk. ... Play With Ubuntu, Now Mac Won't Boot! ...
    (Ubuntu)
  • Re: Help! Major Memory Installation Issue
    ... I've used that Ubuntu disk in LiveCD mode and made some major headway ... I still haven't seen hide nor hair of my E: drive, the remaining partition ... I'm using the Ubuntu disk to do as much as I can before I mess with Windows. ... It turns out, the mount command accepts an offset, so you ...
    (alt.comp.periphs.mainboard.asus)
  • RE: Novice (aka beginner) Ubuntu user
    ... something to do with your disk, or the disk partitions, a boot loader or or ... I've had Many many problems attempting to install ubuntu with NO success. ... On a new machine with new disks, I initially installed Windows server 2003. ...
    (Ubuntu)
  • [ubuntu-users] Error NT_STATUS_CONNECTION_REFUSED
    ... I am encountering a SAMBA problem with Ubuntu. ... Ubuntu is the only machine of these 5 that refuses connection ... ted@Ubuntu:~$ smbclient -L gateway -U ted ... Ubuntu-Xfer Disk ...
    (Ubuntu)