LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-11-2008, 02:30 PM   #1
nicostcado
LQ Newbie
 
Registered: Oct 2008
Posts: 6

Rep: Reputation: 0
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

Last edited by nicostcado; 12-11-2008 at 02:31 PM.
 
  


Reply


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
"mount: not a directory" pmount error when file system is out kaz2100 Linux - General 0 12-18-2007 03:10 PM
Need to learn about CDFS Trelos4crazy Slackware 2 12-14-2007 09:49 AM
Need to rescue cd with CDFS but I can't do it sofasurfer Linux - Software 1 04-06-2006 12:29 PM
cdfs driver help masand Linux - Software 0 02-15-2004 02:41 AM
Need some help with CDFS. Mediocre_Driver Linux - Software 1 11-30-2003 11:02 PM


All times are GMT -5. The time now is 06:06 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration