Hal Rule for /dev/pktcdvd/...

Frank Noack fgroups at onlinehome.de
Fri Feb 9 05:27:54 PST 2007


Hi

As first, sorry for my bad english. I have a Problem with use DVD-RAM with 
linux. I use kernel 2.6.19 with packetwriting under gentoo. I want to 
automount DVD-RAM not with 
# mount /dev/hdd /media/dvdram
i like to use 
# mount /dev/pktcdvd/pktcdvd0 media/dvdram

But i found no way to do this automatic. I use Gentoo with udev-104-r9,  
hal-0.5.7.1-r3 and pmount-0.9.13 (KDE)

But if i show in hal device manager i always found /dev/dvd and 
nowhere /dev/pktcdvd/pktcdvd0 as mountable device. I know i can use DVD-RAM 
with /dev/hdd but it is very slow. With packetwriting i gett a very better 
speed.
I think about a rule like:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> 

<deviceinfo version="0.2">
  <device>
    <match key="block.is_volume" bool="true">
      <match key="volume.is_disc" bool="true">
        <match key="volume.fsusage" string="filesystem">
          <match key="volume.fstype" string="udf">
            <match key="block.device" string="/dev/pktcdvd/pktcdvd0">
              <merge key="volume.policy.desired_mount_point" 
type="string">packet</merge>
            </match>
	  </match>
        </match>
      </match>
    </match>
  </device>
</deviceinfo>

Any ideas? 

Thanks Frank


More information about the hal mailing list