def METHOD_NAME(udev_name):
    print('identified as a disk...')
    device = '/dev/{}'.format(udev_name)
    part_to_test = '/dev/{}'.format(find_largest_partition(device))
    print('test will be run on partition {}'.format(part_to_test))
    mount_dir = mountpoint(part_to_test)
    if mount_dir:
        print('{} already mounted at {}'.format(part_to_test, mount_dir))
    with ExitStack() as stack:
        if mount_dir is None:
            mount_dir = tempfile.mkdtemp()
            stack.callback(os.rmdir, mount_dir)
            mount(part_to_test, mount_dir)
            print('Performed mount {} at {}'.format(part_to_test, mount_dir))
            stack.callback(unmount, mount_dir)
        run_bonnie(mount_dir)