LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-31-2007, 02:33 PM   #1
douart
LQ Newbie
 
Registered: Oct 2006
Distribution: SuSE11.1 86_64
Posts: 16

Rep: Reputation: 0
delete unknown device icon ?


I reinstalled 10.2.

One fat drive was automatically mounted at /windows/c.
I removed that drive, removed "or rather commented out" the entry in fstab, and deleted the "c" folder in /windows.

I am left with a device icon on Gnome desktop named c.

C properties show- Name: c, Location: on the desktop, and "unknown" for the rest of the attributes.
Permissions show: the permissions of "C" could not be determined.

I can get it off the desktop with gnome config but it is still shows in nautilus "places".

How do I get rid of it?
 
Old 04-02-2007, 12:36 AM   #2
anonymous234
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Rep: Reputation: Disabled
Lightbulb Stopping a hard drive from being mounted on linux boot

Quote:
Originally Posted by douart
I reinstalled 10.2.

One fat drive was automatically mounted at /windows/c.
I removed that drive, removed "or rather commented out" the entry in fstab, and deleted the "c" folder in /windows.

I am left with a device icon on Gnome desktop named c.

C properties show- Name: c, Location: on the desktop, and "unknown" for the rest of the attributes.
Permissions show: the permissions of "C" could not be determined.

I can get it off the desktop with gnome config but it is still shows in nautilus "places".

How do I get rid of it?
Dear douart,

You removed a mount point from your hard drive, this is quite a brute way of 'unmounting'. But still, I can understand that it is quite unpleasant to have a directory windows/c.

What you have to do is change your /etc/fstab. This is a file, containing all the mount points of your hard drives. You can only open it with root access. You can do so by opening a console, and then typing 'su' for switch user, it will ask for a root password. then, when you are root (you can check by the command 'whoami') you have to open an editor like 'nano /etc/fstab' (console-editor) or 'kate /etc/fstab/' (graphical window) or whatever editor you like.

You will see that there is one line containing your hard drive. It might for example be hda1.

You will see that the line tells you stuff about the file system on your hard drive, as where it is mounted. You ought to delete this line. BUT BE CARERFULL. make sure it is the the right line you remove. Only remove the line if and only if you are sure that it is the drive you want to unmount. DON'T REMOVE THE LINE WHERE THE MOUNT POINT IS / !

I've written another thread on mounting on this forum-site, it specifically tells one how to mount a hard drive as a home directory. Search for my name on this forum, and you will reach it.

Yours sincerely,
 
Old 04-02-2007, 12:04 PM   #3
douart
LQ Newbie
 
Registered: Oct 2006
Distribution: SuSE11.1 86_64
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks Herbert,
I had physically removed the drive.
Instead of deleting the mount point from fstab I had put a comment mark (*) in front of the line.
I deleted the line from fstab and the unwanted icon from the removed drive is gone.
 
Old 04-03-2007, 12:03 AM   #4
anonymous234
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Rep: Reputation: Disabled
Wink

Quote:
Originally Posted by douart
Thanks Herbert,
I had physically removed the drive.
Instead of deleting the mount point from fstab I had put a comment mark (*) in front of the line.
I deleted the line from fstab and the unwanted icon from the removed drive is gone.
Hello Douart,

I'm not for sure if the asterix (*) is a comment token in your fstab, It also could be the # or the % char. But anyway, as long as you don't delete your main file system, there is not much damage possible. And in case you would, I don't think it would be irresolvable.

I see that you are using openSuSE linix, I think that's a good choice! Although I heard that the 64-bit version is a little unstable. But I never used it, when it feels stable, it probably is.

Greetings,

Last edited by anonymous234; 04-03-2007 at 12:05 AM.
 
Old 04-10-2007, 07:22 AM   #5
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
in SuSE it is a # for commenting lines in fstab...
 
  


Reply



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
Showing Device Status as Unknown Device for all hardware ganesh_g1982 Linux - Hardware 1 12-02-2006 02:13 PM
how can I delete an icon on the desktop? peterpan0307 Fedora 8 09-24-2006 06:10 AM
Autopackage broke my GNOME unknown file type icon ! ghaefb Linux - Software 2 08-15-2005 11:00 AM
delete trash icon mykyl Linux - Newbie 9 11-08-2003 03:34 PM
icon not delete...... eye Red Hat 1 10-17-2003 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:30 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
Open Source Consulting | Domain Registration