Skip to content

Commit

Permalink
FavoritesState: hide efivarfs drives on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
warpdesign committed May 13, 2024
1 parent f2a6a59 commit c780b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/favoritesState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c780b4f

Please sign in to comment.