LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-01-2008, 06:40 PM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,436

Rep: Reputation: 83
ivman and label (mount point) How to??


Hya,

I am trying to set up ivman (Debian lenny, fluxbox).

Almost everything looks great, except for mount point.
USB drive automount is great, but as I have many of them, I want label as mount point, to avoid confusion. (as thunar volman or exo-mount does)

Is there any way to make label as mount point? (/media/myLabel)

So far, I have found:
http://gobo.kundor.org/wiki/HAL_HowTo but it does not work with me.

Happy Penguins!
 
Old 02-12-2008, 11:01 PM   #2
amenon
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
I tried making modifications in the hal policy file, but didn't have any luck there.

What I finally did was modify ivman's mounting commands in /etc/ivman/IvmConfigBase.xml

I changed the mount command to:

Code:
<ivm:Option name="mountcommand" value="pmount '$hal.block.device$' /media/'$hal.volume.label$'" />
and that works. I also had to add the following lines:

Code:
<!-- Add label if no label exists -->
<match key="volume.label" string="">
  <merge key="volume.label" type="string">usbdisk</merge>
</match>
to my hal policy file (/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi) under the vfat mounting section. This was because I had a few disks that didn't have any labels.

btw I am running this under Ubuntu Server 7.10

Good luck.
 
  


Reply

Tags
fluxbox, ivman, label, mountpoint


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
Make removable USB hdd mount at fixed mount point ctkroeker Linux - General 13 08-11-2009 08:49 AM
Set up rsync to mirror mount on Windows Server to mount point on 2nd internal drive MoMule Linux - Server 4 04-13-2007 09:34 PM
mount cd label paul_mat Linux - Software 1 04-20-2006 06:04 AM
ivman/hal fail to mount my usb memory key Valhalla Linux - Hardware 0 11-01-2005 09:50 AM


All times are GMT -5. The time now is 11:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration