LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-09-2009, 03:22 PM   #1
swordphsh
Member
 
Registered: Sep 2008
Distribution: Ubuntu 9.04 X86_64 Desktop, 8.04 X86 Server
Posts: 33

Rep: Reputation: 15
Usb drive shows up twice when it's in fstab


I just upgraded to Ubuntu 9.10 and have an external usb drive which is always connected to my laptop. I have it set in fstab to statically mount at /media/MyBook, but in 9.10 it is showing up twice under connected media and places. One is showing the orange USB drive icon and the other is showing the standard drive icon. Previous to 9.10, ubuntu would simply mount it and show only one icon.

If I remove the fstab option, it only shows the usb icon, but will not automount (I have usb automount disabled, hence the fstab entry). It seems as soon as I put the entry in fstab, it creates a second icon, even though it actually shows the "usb" one as mounted when I run "mount -a."

Any help is appreciated, thanks in advance.
 
Old 11-09-2009, 05:30 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
If you want the fstab entry to control mount/umount, you need to make the device name persistent. Here is an article that should help you accomplish that.
 
Old 11-09-2009, 06:27 PM   #3
swordphsh
Member
 
Registered: Sep 2008
Distribution: Ubuntu 9.04 X86_64 Desktop, 8.04 X86 Server
Posts: 33

Original Poster
Rep: Reputation: 15
Sorry for the confusion, but the fstab entries does work. The problem is that it creates its own "drive icon" as a mount point in addition to the usb drive icon created by the device. I do have a persistent name set as /dev/mybook, but I use the uuid in fstab:

Code:
# MyBook
UUID=e48b88d3-a839-43f2-b98b-8b3dc8e0eb7f	/media/MyBook	xfs	rw,user,exec,noatime,nodiratime,logbufs=8	0	0
I have attached a screenshot of what it looks like, if that helps.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	16
Size:	13.4 KB
ID:	1915  
 
  


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
Fedora Core 7 - RO mount but /etc/fstab shows default icstepec Linux - Newbie 3 08-11-2007 11:37 PM
FireWire/USB-drive (Maxtor) - works mounted as root only. fstab included... -=TRA=- Linux - Hardware 4 04-17-2006 04:17 AM
fstab / permissions to web docs on usb hard drive MarcusG Linux - Newbie 3 04-13-2006 04:58 PM
How to put a permanent entry in fstab for usb pen drive zulfilee Linux - General 4 08-31-2004 11:36 PM
Used dd now, then reformatted drive - still shows 80% full! bluehz Linux - Hardware 3 03-15-2004 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:01 AM.

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