Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Automounting in userspace with ivman
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 27, 28, 29  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Truzzone
Guru
Guru


Joined: 16 Oct 2003
Posts: 492
Location: Italy

PostPosted: Fri Feb 09, 2007 9:12 pm    Post subject: Reply with quote

dot wrote:
ivman does not mount devices, but i know it has some months ago:
Quote:
.......
Apr 9 01:24:03 discovery ivman: New Device: /org/freedesktop/Hal/devices/volume_uuid_3430_3156
Apr 9 01:24:03 discovery ivman: UDI /org/freedesktop/Hal/devices/volume_uuid_3430_3156 is device /dev/sdf1
Apr 9 01:24:03 discovery ivman: Device /dev/sdf1 won't be mounted because no mount policy was specified on either the volume or parent device
Apr 9 01:24:03 discovery ivman: /org/freedesktop/Hal/devices/volume_uuid_3430_3156 wasn't mounted, by us or by others...
Apr 9 01:24:03 discovery ivman: UDI /org/freedesktop/Hal/devices/volume_uuid_3430_3156 is device /dev/sdf1
Apr 9 01:24:03 discovery ivman: Device /dev/sdf1 won't be mounted because no mount policy was specified on either the volume or parent device


Any hints?

I have the same problem, any solution for automount? :?:

Best regards,

Truzzone :(
Back to top
View user's profile Send private message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Thu Mar 15, 2007 3:46 am    Post subject: Reply with quote

Three questions:

This is a USB hard drive.
Quote:
Device /dev/sda1 won't be mounted because no mount policy was specified on volume or storage device and storage device does not appear to be
removable


1) USB sticks and mobile phone get mounted automatically, but not my hard drives (HDD in external USB case). How can I change this feature ?

2) How do I get devices mounted in a directory named after the filesystem label ? (ext, Fat both NTFS)

3) for NTFS, how can I force the use of ntfs-3g over the kernel standard driver ?

I dont specifically love NTFS, but more and more people give me HDDs and sticks that are formatted NTFS, and contain stuff, and ask me to add more files ... I feel compleetely lost in /etc/ivman :'(
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
Back to top
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Thu Mar 15, 2007 9:03 am    Post subject: Reply with quote

doublehp wrote:

2) How do I get devices mounted in a directory named after the filesystem label ? (ext, Fat both NTFS)


You could change the mount command in /etc/ivman/IvmConfigBase.xml
Code:
<ivm:Option name="mountcommand" value="mount '$hal.block.device$'" />

into something like:
Code:
<ivm:Option name="mountcommand" value="mount '$hal.block.device$' /media/$hal.fs_type/$hal.volume.label" />

check with lshal what the parameters should be

You can use whatever script for the mount-command, even your own /usr/local/bin/my-mount-command.sh
_________________
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Back to top
View user's profile Send private message
iulica
n00b
n00b


Joined: 28 Jul 2004
Posts: 34

PostPosted: Fri Mar 16, 2007 7:56 pm    Post subject: Reply with quote

For point 1) you need to install the latest ivman.
Check here
https://forums.gentoo.org/viewtopic-t-471648.html

Regards
Back to top
View user's profile Send private message
Ezhdeha
n00b
n00b


Joined: 13 Oct 2004
Posts: 60
Location: Sydney, Australia

PostPosted: Fri Mar 16, 2007 10:45 pm    Post subject: or here Reply with quote

or here http://www.gentoo-wiki.com/HOWTO_ivman
_________________
http://www.crossnet.com.au
Back to top
View user's profile Send private message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Sun Mar 18, 2007 8:10 am    Post subject: Reply with quote

Is HAL really required ? automount works fine with just ivman; how would HAL help more for this issue ?

I dont doubt it "can" help; I am asking "how".

About http://www.gentoo-wiki.com/HOWTO_ivman the very strange thing is that I got sys-apps/hal-0.5.7.1-r5 and gnome-extra/hal-device-manager-0.5-r1, /etc/init.d/hald but NOT /etc/hal/ !!!

Quote:
root@moon_gen_2:/etc# find |grep hal
./dbus-1/system.d/hal.conf
./udev/rules.d/90-hal.rules
./init.d/hald
./init.d/halt.sh
./runlevels/default/hald
root@moon_gen_2:/etc# find |grep fdi
root@moon_gen_2:/etc#


sounds strange, does'nt it ?

Quote:
root@moon_gen_2:/var/log/portage# equery b /etc/hal
[ Searching for file(s) /etc/hal in *... ]
sys-apps/hal-0.5.7.1-r5 (/etc/hal)
root@moon_gen_2:/var/log/portage# cat sys-apps\:hal-0.5.7.1-r5\:20070215-130442.log |grep "/etc/hal"
test -z "/etc/hal/fdi/information" || mkdir -p -- "/var/tmp/portage/sys-apps/hal-0.5.7.1-r5/image//etc/hal/fdi/information"
test -z "/etc/hal/fdi/policy" || mkdir -p -- "/var/tmp/portage/sys-apps/hal-0.5.7.1-r5/image//etc/hal/fdi/policy"
test -z "/etc/hal/fdi/preprobe" || mkdir -p -- "/var/tmp/portage/sys-apps/hal-0.5.7.1-r5/image//etc/hal/fdi/preprobe"
root@moon_gen_2:/var/log/portage#


I will update & emerge world ...
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 27, 28, 29
Page 29 of 29

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum