That's userspace tool.
# rpm -qf `whereis losetup`
util-linux-2.12a-16
regards,
Mulyadi.
Well thanks for the reply.
I actually wanted to know how does the /sbin/losetup command function, which is what i am unable to find. I found the losetup.c in util-linux, but it does not give me the whole idea. I still have a question,
how does losetup command call the functions of loop.c?