mount cd audio with pmount and cdfs
hello,
I a am an slack 12.1 with blackbox I a problem with cd-rom : I would like automounting all media (usb, cd-rom, dvd, cd audio etc) I allready had got dbus-1.1.20 dbus-glib-0.74 dbus-python dbus-qt3 hal-0.5. 10hal-info-20080317 audiofile-0.2.6 I don't have gnome or kde system I put ivman-0.6.14 pmount-0.9.17 cdfs-2.6.23 ivman is daemonize on the user id when x start That's ok for usb and most cd-rom, dvd but I would like cd audio to appear on the file system (with cdfs) because I don't want any auto exec application (like some media player) I want let the user choose what I want to do with the media (rip, play etc) I don't want the user to use su root I don't want to break the security of mount I just want he can see the files on /media I put the rule on /home/user/.ivman/IvmConfigActions.xml : <!-- liste CDs with audio tracks --> <ivm:Match name="hal.volume.disc.has_audio" value="true"> <!-- liste CDs with audio tracks --> <ivm:Match name="hal.volume.disc.has_audio" value="true"> <ivm:Option name="exec" value="mkdir /media/cdmusique" /> <ivm:Option name="exec" value="pmount -t cdfs '$hal.block.device $' /media/cdrmusique" /> </ivm:Match> but I have the echo error on ivman :Erreur : nom de systcme de fichiers inva lide 'cdfs' (name of filesystem invalid : 'cdfs'). that's the same on a term. But on root I can do mount -t cdfs /dev/hdd /media/cdmusique, it's ok I though there is a problem with hal : lshal say : volume.fstype = '' (string) so I create a new rule on /usr/share/hal/fdi/policy/20thirdparty/ 10-cdfs-policy.fdi : <?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <match name="volume.disc.type" value="cd_rom"> <match name="volume.disc.has_audio" value="true"> <match name="volume.disc.has_data" value="false"> <match name="volume.disc.has_audio" value="true"> <match name="volume.disc.has_data" value="false"> <merge key="volume.policy.mount_filesystem" type="string">cdfs</m erge > <merge key="volume.fstype" type="string">cdfs</merge> <merge key="volume.ignore" type="bool">false</merge> </match> </match> </match> </device> </deviceinfo> but there is no effect I thing my hal rule is wrong but I thing too there is not the problem Do you how to do pmount recognize the filesystem ? thanks for any help |
All times are GMT -5. The time now is 03:56 PM. |