Hello, this patch adds a pkt_find_dev() function for reusability and groups all pkt_find*() functions. Also pkt_remove_dev() can use now the device id of the mapped block device to remove the mapping. http://people.freenet.de/BalaGi/download/pktcdvd-3-util-pkt_find_dev_2.6.18.patch Note: patch 1/11 and 2/11 of this patch set were applied to 2.6.18-mm2 and therefore are already in 2.6.18-mm3: http://people.freenet.de/BalaGi/download/pktcdvd-2-pktdev_major_2.6.18.patch http://people.freenet.de/BalaGi/download/pktcdvd-1-macro-driver-name_2.6.18.patch Signed-off-by: Thomas Maier -Thomas Maier