HAL Newbie Questions

Robinson, Chris S CIV N62306 chris.s.robinson1 at navy.mil
Thu Jul 12 08:30:06 PDT 2007


Hi,

Here's my situation.  I have a laptop (running RedHat Enterprise Linux
Client release 5) and whenever a usb drive is inserted, 
I want it to be mounted on a generic mount point and not the drive's
volume label, i.e I want my flash drive to be mounted at:

           /media/usbdisk 

  NOT  /media/LEXAR

I was able to successfully do this by creating a .fdi file with rules to
ignore the volume label. 

 However, when I insert another usb drive, it is mounted at
/media/usbdisk_ and a third drive is mounted at /media/usbdisk__
and so on.  I would like for the mount points to be /media/usbdisk1 ,
/media/usbdisk2, etc. but have not found out
how to do this.

We have a desktop system running Redhat Enterprise WS 4 and it does
mount the usb drives like I want and I've
looked at the .fdi files and could see any obvious differences.

The desktop system hal version is 0.4.2-1.EL4 and the laptop hal version
is 0.5.81-19.el5.

Any help is appreciated.

Thanks,

Chris  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/hal/attachments/20070712/e968d435/attachment.htm 


More information about the hal mailing list