FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

LinkBack Thread Tools
Old 12-11-2008, 09:20 PM
Default udev rules not working


I have a usb pen drive and I want it to be mounted in a
particular directory when I plug it.

I have written a udev rule in the
file /etc/udev/rules.d/50-MyRule.rules:

BUS=="usb", KERNEL=="sd?1",
ATTRS{product}=="USB DISK 2.0", ATTRS{serial}=="078A184502BD", NAME="%
k", SYMLINK+="usb16GB%n"

and added to /etc/fstab the line:

/dev/usb16GB1 /mnt/usbdisk ext3 users,noauto,exec,suid 0 0

But when I plug the pen drive, it is automounted in /media/usb0,
ignoring my udev rule.

If I umount the device and do:


It is correctly mounted.

How can I get what I want?

help will be appreciated.

Manuel Parrilla.

ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Thread Tools

All times are GMT. The time now is 11:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org