[kde-freebsd] system:/media/cd0 and volume_label not latin symbols

Maxim Samsonov xors at mne.ru
Sun Apr 1 22:22:12 CEST 2007


On Sunday 01 April 2007 22:09:46 Andrew Muhametshin wrote:
> It is impossible to open a DVD/CD-media if a label of volume not latin
> symbols. I asked some Linux-users, and it was found out, that in them,
> mount point undertakes from a name of the device, for example:
> "/media/cd0", but in FreeBSD, for mount point is used
> "/org/freedesktop/Hal/devices/volume_label" -- and from for it there are
> problems to their opening.

You can achieve the same behaviour (like on linux) system wide
through HAL's "desired mount point" mechanism.
For example, if you place attached "10-cdrom-policy.fdi" file
to your HAL's fdi dir (most probably 
in "/usr/local/share/hal/fdi/policy/20thirdparty"),
/dev/cd0 and /dev/cd1 should be mounted under /media/cdrom0 and 
/media/cdrom1 correspondingly.

>
> For presentation, I apply a screenshot:
> http://photo.rol.ru/showphoto.php?photo=177724&size=big&password=taltilig
>
> Regards,
> Andrew R.M.
>
> I am sorry for my English
> _______________________________________________
> kde-freebsd mailing list
> kde-freebsd at kde.org
> https://mail.kde.org/mailman/listinfo/kde-freebsd


-------------- next part --------------
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 

<deviceinfo version="0.2">
	<device>
		<match key="volume.is_disc" bool="true">
			<match key="block.device" string="/dev/cd0">
				<merge key="volume.policy.desired_mount_point" type="string">cdrom0</merge>
			</match>
			<match key="block.device" string="/dev/cd1">
				<merge key="volume.policy.desired_mount_point" type="string">cdrom1</merge>
			</match>
		</match>
  </device>
</deviceinfo>


More information about the kde-freebsd mailing list