LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 11-10-2012, 11:52 AM   #1
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 860

Rep: Reputation: 87
Why does /media/cdrecorder pop up with "cd /media/ + tab" when I have /media/usb too?


I'm using Fedora 16. I created the directory /media/usb. When I want to mount something there and I do
Code:
mount /dev/sdb1 /media/
and hit the tab key for completion it always brings up /media/cdrecorder without offering any other directories. I want to add other directories for other usb devices there but I have to first solve this problem so I can be shown all possible subdirectories in /media. Does anyone know why this happens and how to destroy this annoying tendency? I've tried removing the cdrecorder subdirectory and recreating it but no joy. In past versions of Fedora this was not a problem. Thanks ahead of time.
 
Old 11-20-2012, 02:35 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hi,

do you have bash-completion installed?

Markus
 
Old 11-22-2012, 12:09 AM   #3
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 860

Original Poster
Rep: Reputation: 87
Quote:
Originally Posted by markush View Post
Hi,

do you have bash-completion installed?

Markus
Yes, I have bash-completion installed. Thanks. I thought just using the tab key was enough. I never knew about the package "bash-completion". I'm assuming this allows more specific usage of tab? I'll have a read of some of it's documentation.
 
Old 11-22-2012, 12:26 AM   #4
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 860

Original Poster
Rep: Reputation: 87
In /etc/profile.d/udisks-bash-completion.sh I see two references to the word "media":

Code:
In line #29 and line #32
They both say "--poll-for-media", which I'm not sure is what I'm looking for but there is a line in /etc/fstab referring to /media/cdrecorder, there is not a line in /etc/fstab referring to usb. So I'll edit /etc/profile.d/udisks-bash-completion.sh to exclude ":--poll-for-media" in line 32, reboot and see if it makes a difference.
 
Old 11-22-2012, 12:30 AM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
If it doesn't you could uninstall bash-completion (temporarily) in order to verify that it's really the cause for the trouble.

Markus
 
1 members found this post helpful.
Old 11-22-2012, 12:50 AM   #6
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 860

Original Poster
Rep: Reputation: 87
Quote:
Originally Posted by markush View Post
If it doesn't you could uninstall bash-completion (temporarily) in order to verify that it's really the cause for the trouble.

Markus
Removing said text in /etc/profile.d/udisks-bash-completion.sh did not help but when I commented out the line in /etc/fstab:
Code:
/dev/sr0  /media/cdrecorder  iso9660  defaults,noauto  0 0
the trouble was gone. I then restored the line in /etc/fstab to activate /media/cdrecorder, removed the package "bash-completion", rebooted and the trouble is gone. So I'll leave package "bash-completion" out of the OS and see if there are repercussions. Thank you, Markus. Rep added.
 
Old 11-22-2012, 01:05 AM   #7
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
I'm happy to read that you've solved your problem.

Markus
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install USB HDD as "standard" partition instead of automounting to /media/... renzed Linux - Hardware 4 01-03-2012 12:32 AM
LQ search: "NO NAME" MEDIA interpreted as "NO NAME" OR MEDIA. [!] stf92 LQ Suggestions & Feedback 3 09-09-2011 06:20 PM
Mysterious "usb" directories in /media dir - USB devices Don't Mount Like Before gentisle Linux Mint 3 04-10-2011 10:37 AM
I have URL/Domain domain_url.com I want to add "media." (media.domain_url.com), how? brynjarh Linux - Server 3 07-28-2008 11:50 AM
rh9 usb officejet g85 "media tray empty" message skippy1969 Linux - Hardware 0 03-03-2004 06:47 PM


All times are GMT -5. The time now is 09:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration