Unique names for UMS devices in /media/

Peter Garrett peter.garrett at optusnet.com.au
Wed Feb 14 23:46:55 UTC 2007


On Wed, 14 Feb 2007 18:22:31 -0500
John Dangler <jdangler at atlantic.net> wrote:

> > What I would like, though, is for each one to have its own directory 
> > name.  For example, my mp3 player to come up as '/media/iriver' and my 
> > camera to come up as /media/fujifilm' or something like that.
> > 
> > I know this can be done on some level, but I'm not sure how deep I have 
> > to go.  Whether it's something to do with HAL, or udev, or somewhere else.

I think you can write udev rules to achieve this. A starting point might be

http://www.reactivated.net/writing_udev_rules.html

Peter




More information about the ubuntu-users mailing list