1

hey, i accidentally mounted the same hard drive twice to two different directories, how can I remove one of the mounts?

I have this

/dev/sdb1             459G  199M  435G   1% /disk2
/dev/sdb1             459G  199M  435G   1% /var/www/disk2

and i want to remove

    /dev/sdb1             459G  199M  435G   1% /disk2
Belgin Fish
  • 919
  • 5
  • 17
  • 31

1 Answers1

4

umount /path/where/its/mounted... in your example

umount /disk2

or

umount /var/www/disk2

depending on which one you want to umount.

Hrvoje Špoljar
  • 5,245
  • 26
  • 42