Date: Tue, 18 Aug 2020 11:23:24 +0930 From: "O'Connor, Daniel" <darius@dons.net.au> To: Guido Falsi <mad@madpilot.net> Cc: Kyle Evans <kevans@freebsd.org>, Dmitrii Postolov <dpostolov@yandex.ru>, freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: EFISYS shortcuts on Xfce desktops Message-ID: <4DBD56C1-D81B-4F8E-9B2B-F6E3961A64C3@dons.net.au> In-Reply-To: <ae54a42c-48c5-f1c8-bd04-76a33a1028a5@madpilot.net> References: <613031596851658@mail.yandex.ru> <CACNAnaE7H0YmnR4zkTNn3PaomZT-GfNdH8HSrsmaHvDdeRu0oA@mail.gmail.com> <ae54a42c-48c5-f1c8-bd04-76a33a1028a5@madpilot.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Guido, > On 8 Aug 2020, at 18:03, Guido Falsi via freebsd-stable = <freebsd-stable@freebsd.org> wrote: >>=20 >> 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 =3D EFI System = Partition >> ("ESP"). Unsure why it's identified in the "Removable Device" >> category. >=20 > The "granular" way is through hal policies. For example I have this in > /usr/local/etc/hal/fdi/preprobe/20thirdparty/10-ignore-EFI.fdi: >=20 >=20 > <deviceinfo version=3D"0.2"> > <device> > <match key=3D"block.device" string=3D"/dev/ada0p1"> > <merge key=3D"info.ignore" type=3D"bool">true</merge> > </match> > </device> > <device> > <match key=3D"block.device" string=3D"/dev/ada0"> > <merge key=3D"info.ignore" type=3D"bool">true</merge> > </match> > </device> > </deviceinfo> >=20 >=20 > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DBD56C1-D81B-4F8E-9B2B-F6E3961A64C3>