Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2012 08:17:14 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        Barbara <barbara.xxx1975@libero.it>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: Problems with fdi file syntax
Message-ID:  <CAN6yY1tC=iNmbGrizCjeyDckK8Ek=kfROpjhP0-fGEm_jF64Wg@mail.gmail.com>
In-Reply-To: <20689674.3230471349249630072.JavaMail.defaultUser@defaultHost>

index | next in thread | previous in thread | raw e-mail

On Wed, Oct 3, 2012 at 12:33 AM, Barbara <barbara.xxx1975@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@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@gmail.com


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tC=iNmbGrizCjeyDckK8Ek=kfROpjhP0-fGEm_jF64Wg>