change mount point of the stick usb drive or USB thumb

Martin Pitt martin.pitt at ubuntu.com
Sun May 8 14:25:24 UTC 2011


Hello Ricardo,

Ricardo Barbosa [2011-03-10 15:42 -0800]:
> I'm studying udev and i have a question regarding the mounting of
> removable devices. When I plug a USB thumb drive into my ubuntu it
> automatically mounts the flash drive in /media such as
> /media/KINGSTON. But I wish this would automatically mount in
> another path, i can change this behavior?

You can set up an /etc/fstab entry with  e. g.

  LABEL=KINGSTON /mymount/point  auto defaults,auto 0 0

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the ubuntu-desktop mailing list