User Mode Linux

Vishal Thanki vishalthanki at gmail.com
Tue Nov 15 07:53:29 EST 2011


Hi All,

I am trying to create a loopback block device under a UML (running
kernel 3.1.0).
I used following commands:

# dd if=/dev/zero of=/tmp/store1 bs=1024 seek=2047 count=1
# losetup /dev/loop1 /tmp/store1

But the 2nd command (i.e. losetup) returns with the error complaining
"/dev/loop1" is not present, but I can see /dev/loop[0..7] files
present.

My question, is it possible to do this exercise under UML (User mode linux)?

Thanks,
Vishal



More information about the Kernelnewbies mailing list