Empty directory not getting deleted in external harddisk

Ioannis Vranos ioannis.vranos at gmail.com
Tue Oct 25 20:15:08 UTC 2011


On Tue, Oct 25, 2011 at 11:12 PM, Linux Tyro <ubuntu.bkn at gmail.com> wrote:
> On Wed, Oct 26, 2011 at 1:36 AM, Johnny Rosenberg <gurus.knugum at gmail.com>
> wrote:
>
>> So it seems like your USB disk is /dev/sdb1. So in this case, Bruce
>> Pieterse suggested that you should run the following in a terminal:
>>
>> fsck -y /dev/sdb1
>
> It says me:
>
> *****
> /dev/sdb1 is mounted.
>
> WARNING!!!  The filesystem is mounted.   If you continue you ***WILL***
> cause ***SEVERE*** filesystem damage.
>
> Do you really want to continue (y/n)?
> ****
>
> Should I go? I have many imp. files in the usb drive hard disk and they
> would remain safe i guess...?

*No. Unmount the filesystem first.

df -h

to see the directory the fileystem is mounted.


Then

umount /directoryPath


-- 
Ioannis Vranos

http://www.cpp-software.net




More information about the ubuntu-users mailing list