On Wed, Aug 27, 2008 at 12:24:07AM -0700, jassi brar wrote:
I fail to see what your patch generalizes? AFAIK it just adds a new
more narrow (less features than the old one) interface to create loop devices.
But you're adding more code which is more intrusive?
Your goal is to replace all ioctls with sysfs files?
If it's that then I'm going on the book as saying that's a bad idea, especially
for this case. While ioctls have their problems they work quite well for many
things. I don't see any particular reason why ioctls should not be used
to configure loop devices.
-Andi
--