Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using CentOS 5.x and am trying to change the mount point that get's used when I insert a USB thumb drive or external USB drive. They're showing up under /media/KINGSTON for example. I'd like to change this so that they show up under /external/KINGSTON for example.

If you must know my reasons for asking this, I have a domain where they're already using /media for something else and it would be more work to move this domain's automount from /media to something else. I'm trying to explore all my options before I decide on a path forward.


share|improve this question
You should be able to do this in fstab – Andrew Lambert Mar 20 '12 at 2:16
Iirc, it is hard-coded into gvfs. Puppy had patches for Thunar, but not sure about Nautilus. – technosaurus Mar 20 '12 at 3:15
up vote 1 down vote accepted

This is apparently not possible, the path used by GVFS is hardcoded directly in the source, so the only way to override it would be to fork GVFS, and make the changes yourself.

share|improve this answer

Edit you /etc/fstab file and add an line to it in this format

UUID=<UUID>  /external/<Name>  ntfs  rw,auto,users,noexec,nls=utf8,umask=007,gid=46  0  0

Assuming your pendrive is formatted as NTFS.

where is the UUID of that partition and /media/ points to that directory get the UUId by running

sudo blkid

After saving the file, remount it using

sudo mount -a

More references :

share|improve this answer
Read the question, then answer. – Ignacio Vazquez-Abrams Mar 20 '12 at 4:28
@IgnacioVazquez-Abrams okay DONE ;p – HackToHell Mar 20 '12 at 4:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.