--- components/storage_monitor/BUILD.gn.orig	2026-03-13 16:54:03 UTC
+++ components/storage_monitor/BUILD.gn
@@ -66,7 +66,7 @@ component("storage_monitor") {
       deps += [ "//services/device/public/mojom" ]
     }
   } else if (is_linux) {
-    if (use_udev) {
+    if (use_udev && !is_bsd) {
       sources += [
         "mtab_watcher_linux.cc",
         "mtab_watcher_linux.h",
@@ -167,7 +167,7 @@ source_set("unit_tests") {
         "storage_monitor_chromeos_unittest.cc",
       ]
     }
-  } else if (is_linux) {
+  } else if (is_linux && !is_bsd) {
     if (use_udev) {
       sources += [ "storage_monitor_linux_unittest.cc" ]
     }
