Hi Guido,

> On 8 Aug 2020, at 18:03, Guido Falsi via freebsd-stable 
> <freebsd-stable@freebsd.org> wrote:
>> 
>> i'm not sure if there's a more granular way to do this. Alternatively,
>> you could create a /boot/efi or /boot/msdos or similar and mount it at
>> boot so that xfce doesn't even try it. EFISYS = EFI System Partition
>> ("ESP"). Unsure why it's identified in the "Removable Device"
>> category.
> 
> The "granular" way is through hal policies. For example I have this in
> /usr/local/etc/hal/fdi/preprobe/20thirdparty/10-ignore-EFI.fdi:
> 
> 
> <deviceinfo version="0.2">
>  <device>
>    <match key="block.device" string="/dev/ada0p1">
>        <merge key="info.ignore" type="bool">true</merge>
>    </match>
>  </device>
>  <device>
>    <match key="block.device" string="/dev/ada0">
>        <merge key="info.ignore" type="bool">true</merge>
>    </match>
>  </device>
> </deviceinfo>
> 
> 
> Hope this helps.

Thanks for this, I got it working by specifying block.device (twice, once for 
/dev/msdosfs/EFISYS and once for /dev/gptid/<mumble>). Is there a way it can 
key off (say) the volume name or UUID instead?

I tried a few keys like volume.uuid and volume.label but they don't work. 
Perhaps that is because they are only filled in after the preprobe, hence the 
rules don't match until after they could possibly take effect.

Thanks.

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum


_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to