Is sysfs really the right interface here? I would have expected an ioctl (and for kernel use method) on the block device to more useful. Especially all the dynamic sysfs manipulation from a driver is a little scary to me.
Is sysfs really the right interface here? I would have expected an ioctl (and for kernel use method) on the block device to more useful. Especially all the dynamic sysfs manipulation from a driver is a little scary to me.