Odd problem with terminal

Basil Chupin blchupin at iinet.net.au
Sun Sep 5 06:02:50 UTC 2010


On 05/09/2010 15:40, Ric Moore wrote:
> On Sat, 2010-09-04 at 13:39 -0700, Chris MacDonald wrote:
>    
>> On Sat, Sep 4, 2010 at 1:23 PM, Karl Larsen<klarsen1 at gmail.com>  wrote:
>>      
>>>      I tried umount and it does "safely remove the USB memory stick",
>>> but fails to remove the stuff.
>>>        
>> Someone else might be able to better-explain the intricacies of
>> nautilus or whatever mechanism automatically mounts filesystems on
>> hot-pluggable devices for Ubuntu, but that mechanism creates that
>> folder (/media/4083-B092). If you "Safely Remove" the device through
>> Gnome that mechanism will unmount and remove the folder for you
>> (provided of course that it's not in use).
>>
>> Because you're unmounting via the command line, the folder will get
>> left behind (you're circumventing the work done by the mechanism I
>> mentioned above). Provided your 'umount 4083-B092/' returned
>> successfully you can safely remove the folder yourself (if umount
>> returned with an error, removing the directory would give you the same
>> error you initially posted).
>>
>> For future reference, simply entering 'mount' (without the folder
>> name) will print out a list of any mounted filesystems. This was what
>> I intended to convey, but I think you get the point as the error from
>> your 'mount 4083-B092/' tells you the folder is being used as a mount
>> point so it's all the same.
>>      
> What happens if you su rm -rf a mounted drive? :) Ric
>    
Coitus reservatus.

Quite frustrating.

BC

-- 
...more people are driven insane through religious hysteria than by drinking alcohol.
                     W C Fields





More information about the ubuntu-users mailing list