• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# do not edit this file, it will be overwritten on update
2
3SUBSYSTEM!="block", GOTO="btrfs_end"
4ACTION=="remove", GOTO="btrfs_end"
5ENV{ID_FS_TYPE}!="btrfs", GOTO="btrfs_end"
6
7# let the kernel know about this btrfs filesystem, and check if it is complete
8IMPORT{builtin}="btrfs ready $devnode"
9
10# mark the device as not ready to be used by the system
11ENV{ID_BTRFS_READY}=="0", ENV{SYSTEMD_READY}="0"
12
13# reconsider pending devices in case when multidevice volume awaits
14ENV{ID_BTRFS_READY}=="1", RUN+="${exec_prefix}/bin/udevadm trigger -s block -p ID_BTRFS_READY=0"
15
16LABEL="btrfs_end"
17