#!/bin/sh

read MAJ MIN <<EOF
$(stat -L -c '%t %T' "/dev/mapper/$1")
EOF

echo change > "/sys/dev/block/$(printf '%d:%d' 0x$MAJ 0x$MIN)/uevent"
