]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
udev: remove parttypeuuid rules for ceph-disk
authorAlfredo Deza <adeza@redhat.com>
Wed, 23 May 2018 18:54:16 +0000 (14:54 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 13 Jun 2018 19:16:22 +0000 (15:16 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
udev/60-ceph-by-parttypeuuid.rules [deleted file]

diff --git a/udev/60-ceph-by-parttypeuuid.rules b/udev/60-ceph-by-parttypeuuid.rules
deleted file mode 100644 (file)
index 1fe8fc5..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Make sure /dev/disk/by-parttypeuuid is populated because
-# ceph-disk activate-all relies on it.
-#
-
-# forward scsi device event to corresponding block device
-ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST=="block", ATTR{block/*/uevent}="change"
-
-ACTION=="remove", GOTO="persistent_storage_end_two"
-
-SUBSYSTEM!="block", GOTO="persistent_storage_end_two"
-
-# skip rules for inappropriate block devices
-KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|md*", GOTO="persistent_storage_end_two"
-
-# ignore partitions that span the entire disk
-TEST=="whole_disk", GOTO="persistent_storage_end_two"
-
-# for partitions import parent information
-ENV{DEVTYPE}=="partition", IMPORT{parent}="ID_*"
-
-# skip unpartitioned removable media devices from drivers which do not send "change" events
-ENV{DEVTYPE}=="disk", KERNEL!="sd*|sr*", ATTR{removable}=="1", GOTO="persistent_storage_end_two"
-
-# probe filesystem metadata of disks
-KERNEL!="sr*", IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
-
-# NEW: by-parttypeuuid links (type.id)
-ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_TYPE}=="?*", ENV{ID_PART_ENTRY_UUID}=="?*", SYMLINK+="disk/by-parttypeuuid/$env{ID_PART_ENTRY_TYPE}.$env{ID_PART_ENTRY_UUID}"
-
-LABEL="persistent_storage_end_two"