How to delete unused mount points?

How do I delete these 2 unwanted mount points.enter image description here

4

2 Answers

Use sudo rmdir /path/to/mount/point

Mount points are empty directories. In GNU/Linux, all filesystems are mounted in one tree, and Ubuntu is a GNU/Linux. You tried to remove that directory using rmdir command. It's OK. But it said permission denied. It is expected to happen. You are not the owner of neither those directories nor the parent directory, /mnt . You must have superuser permissions to remove those. So use sudo which give root permissions like this:

sudo rmdir /unused/mount/point/

It will prompt for the password. Type your password and hit enter. Your password won't be seen, even not dots. That's normal.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like