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 10-17-2006, 08:10 PM   #1
morxy
LQ Newbie
 
Registered: Oct 2006
Location: London, UK
Distribution: Fedora Core 5
Posts: 2

Rep: Reputation: 0
USB Automount: /media/USB Disk


When I insert my USB pen drive Fedora automounts it under /media/USB Disk. How can I change this so it mounts under /mnt/usb instead? Is there a config file I can edit somewhere? There's no mention of it in /etc/fstab.

Many TIA,
Marco
 
Old 10-18-2006, 02:55 AM   #2
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
Have a look here (assuming Fedora uses autofs and not AMD):
Automount
Automount Configuration

Looks pretty simple, all you need to know is the device name of the USB disk, which will almost definately be /dev/sda, but check this first.
 
Old 10-18-2006, 12:49 PM   #3
morxy
LQ Newbie
 
Registered: Oct 2006
Location: London, UK
Distribution: Fedora Core 5
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks. It turned out to be more of a gnome-volume-manager/hald situation than automount.

Turns out gnome-volume-manager was using the FAT volume name of the USB disk as the name of the directory mount point. I changed the label of the USB filesystem to usb and, hey, it gets mounted at /media/usb now instead.
 
Old 10-20-2006, 08:08 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
FYI: In the newer distros automount is superseded by hald, DBUS and udev. If interested, have a look at

http://ftp.kernel.org/pub/linux/util...tplug/udev-FAQ
http://www.reactivated.net/writing_udev_rules.html

In particular the second URI ist of interest if you mount different devices in differing orders and still want to have them always the same name.
 
  


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
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM
usb media automount dukeinlondon Debian 3 07-22-2005 05:53 PM
Automount USB disk at startup becho4 Linux - Software 1 07-08-2005 08:36 AM
USB automount delta_simon Linux - Software 2 04-09-2005 04:36 AM
USB 2.0 External Disk Wont Work, but almost in USB 1.1 integr8er Linux - Hardware 2 03-13-2004 09:22 AM

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

All times are GMT -5. The time now is 11:00 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