=?UTF-8?Q?Re:_git:_2c26d77d989a_-_main_-_Remove_/boot/efi_from_mtree, _mi?= ssed in 0b7472b3d8d2.

Brandon Bergren bdragon at FreeBSD.org
Wed Mar 3 03:34:26 UTC 2021


OK, how about this as an idea then:

Parse mount output to see if anything is mounted to /boot/efi directly?

if mount -p | cut -f 2 | grep '^/boot/efi$'; then
....
fi

-- 
  Brandon Bergren
  bdragon at FreeBSD.org


More information about the dev-commits-src-all mailing list