LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-16-2004, 07:49 AM   #1
Tsuroerusu
Member
 
Registered: Jul 2004
Location: Denmark
Distribution: openSUSE
Posts: 46

Rep: Reputation: 15
How to remove unused mount points?


I have an external USB harddisk, when I have it in the mount point /mnt/removeable is created, but when I turn off the drive the mount point remains, how do I remove those unused mount points (Hate to have those freaking icons on my desktop) when their drives are removed?
 
Old 07-16-2004, 11:44 AM   #2
. : B : .
LQ Newbie
 
Registered: Jul 2004
Location: Florida
Distribution: Slack 9.1
Posts: 5

Rep: Reputation: 0
umount /mnt/removeable before you turn it off. (NOT uNmount! No "n")
 
Old 07-16-2004, 01:37 PM   #3
Tsuroerusu
Member
 
Registered: Jul 2004
Location: Denmark
Distribution: openSUSE
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by . : B : .
umount /mnt/removeable before you turn it off. (NOT uNmount! No "n")
Didn't work, the mount points remained in /mnt/ as empty folders, and the shourcuts at the desktop remained.
 
Old 07-16-2004, 06:22 PM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
You could simply delete the directory
Code:
rmdir /mnt/removeable
However, to be honest I'm not sure there's a huge amount of value in doing this if it's just going to get created again when you plug the USB device back in. Personally I would just leave it alone, as it doesn't really do any harm just sitting there, plus it will already exist the next time you want to use the USB drive. Just my 2 cents -- J.W.
 
Old 07-16-2004, 08:44 PM   #5
. : B : .
LQ Newbie
 
Registered: Jul 2004
Location: Florida
Distribution: Slack 9.1
Posts: 5

Rep: Reputation: 0
The mount points in /mnt are supposed to stay there. The icons should disappear though. Have you remounted it and then umounted? If not, try that. Until you umount the system thinks it's still hooked up and keeps the icon for you.
 
Old 07-16-2004, 09:34 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
.:B:. has a good point - my response was with respect to the thread title. I'll repeat though that if you are going to be using the USB device fairly often, I think it would be better to just leave things the way they are. -- J.W.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to remove unused installations shyam_d_sundar Linux - Newbie 2 05-15-2004 08:15 AM
need help with mount points! rmanocha Linux - Hardware 2 10-26-2003 04:23 PM
help with mount points rmanocha Linux - Software 12 10-26-2003 02:32 PM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 06:48 AM
remove / importing net file system unused dansen Linux - Networking 1 12-11-2002 04:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration