From 53198b654c8777c4437a535a9a9c25fd02fec8f7 Mon Sep 17 00:00:00 2001 From: Nicolas Ramz Date: Mon, 13 May 2024 09:49:11 +0200 Subject: [PATCH] FavoritesState: hide efivarfs drives on Linux --- src/state/favoritesState.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/favoritesState.ts b/src/state/favoritesState.ts index ab57aacb..cdd5f5fa 100644 --- a/src/state/favoritesState.ts +++ b/src/state/favoritesState.ts @@ -23,7 +23,7 @@ export interface Favorite { export const filterSystemDrive = ({ filesystem, mounted }: Drive) => { // exclude system volumes from the list of devices we want to show - if (filesystem.match(/(tmpfs|devfs|map)/) || mounted.match(/^\/(System|boot)/)) { + if (filesystem.match(/(tmpfs|devfs|map|efivarfs)/) || mounted.match(/^\/(System|boot)/)) { return false } else { return true