PDA

View Full Version : reverse mount action



bd54338rre
19th January 2009, 10:21 PM
i just recovered from some heavy hardware issues

Recovered my USB drive , this was formated on the LVM group
.

However, i made a small mistake

I did:

mkdir /media/USB-HDD
followed by:

mount /dev/sda1 /mnt/USB-HDD

in order to restore my USB drive
however, i restored my USB drive using other commands.
How can i reverse the above mount action

Basicly, unmount /dev/sda1 from /mnt/USB-HDD
and remove the USB-HDD dir,

Actually, i do not know the correct commands

Nokia
19th January 2009, 10:24 PM
Try
umount /mnt/USB-HDD


See
man umount

stoat
19th January 2009, 10:28 PM
...and remove the USB-HDD dirHello bd54338rre,
su
rmdir /media/USB-HDDOr...
su
rmdir /mnt/USB-HDDIt's not clear which. You have both in your post.