Problems with fdi file syntax

Kevin Oberman kob6558 at gmail.com
Wed Oct 3 15:17:23 UTC 2012


On Wed, Oct 3, 2012 at 12:33 AM, Barbara <barbara.xxx1975 at libero.it> wrote:
>
>>
>>I am trying to create an FDI file to prevent a partition from
>>mounting, but I get the error:
>>error in FDI file
>>/usr/local/share/hal/fdi/preprobe/20thirdparty/10-ignore-ufs-extras.fdi:6:
>>not well-formed (invalid token)
>>
>>The line is (as far as I can tell) identical to the example in the HAL FAQ.
>>
>>Here is the file in question:
>><?xml version="1.0" encoding="UTF-8"?>
>>
>><deviceinfo version="0.2">
>>  <device>
>>    <match key="block.device" string="/dev/ntfs/SYSTEM_DRV"
>>      <merge key="info.ignore" type="bool">true</merge>
>>    </match>
>>  </device>
>></deviceinfo>
>>
>>Any idea what dumb mistake I am making.
>>--
>>R. Kevin Oberman, Network Engineer
>>E-mail: kob6558 at gmail.com
>
> What comes immediately to my eyes (but I don't know if it's a copy/paste
> problem) without going too deep in the content, is that the match tag is not
> closed
>    <match key="block.device" string="/dev/ntfs/SYSTEM_DRV"
> should be
>    <match key="block.device" string="/dev/ntfs/SYSTEM_DRV">
>
> Barbara

I knew it had to be something dumb! I am amazed that I could stare at
this for so lon and miss something so obvious!

Thanks so much for solving this problem!
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558 at gmail.com


More information about the freebsd-gnome mailing list