Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2012 09:35:06 +0200
From:      Barbara <barbara.freebsd@gmail.com>
To:        kob6558@gmail.com, FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   R: Problems with fdi file syntax
Message-ID:  <CAETvGMAGowLean=5mjdrbbKCNVyb_8Ga2GGd8T_tK9om=2bJ_g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

>
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAETvGMAGowLean=5mjdrbbKCNVyb_8Ga2GGd8T_tK9om=2bJ_g>