diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-09-10 10:57:58 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-09-10 10:57:58 -0400 |
commit | abfedee1cec4067e945fc3fbccde97983821e352 (patch) | |
tree | 2095298908a8c5ef11236be3214c860e22b966bf /src/grp-udev/rules/64-btrfs.rules | |
parent | 3d7e530adbfe2f7b3e4bc888f177224ac6e65aab (diff) |
./move.sh
Diffstat (limited to 'src/grp-udev/rules/64-btrfs.rules')
-rw-r--r-- | src/grp-udev/rules/64-btrfs.rules | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/grp-udev/rules/64-btrfs.rules b/src/grp-udev/rules/64-btrfs.rules new file mode 100644 index 0000000000..fe0100131e --- /dev/null +++ b/src/grp-udev/rules/64-btrfs.rules @@ -0,0 +1,13 @@ +# do not edit this file, it will be overwritten on update + +SUBSYSTEM!="block", GOTO="btrfs_end" +ACTION=="remove", GOTO="btrfs_end" +ENV{ID_FS_TYPE}!="btrfs", GOTO="btrfs_end" + +# let the kernel know about this btrfs filesystem, and check if it is complete +IMPORT{builtin}="btrfs ready $devnode" + +# mark the device as not ready to be used by the system +ENV{ID_BTRFS_READY}=="0", ENV{SYSTEMD_READY}="0" + +LABEL="btrfs_end" |