A problem with loopback device in 2.3.26

Michael Sobolev (mss@transas.com)
Tue, 16 Nov 1999 03:33:05 +0300


I've got a problem with loopback device.

The sequence of commands:

# dd if=/dev/zero of=file bs=1k count=3000
# mke2fs -q -F -N 600 -m 0 file 3000
# mount -t ext2 -o loop file mnt.point

results in

VFS: Can't find an ext2 filesystem on dev loop(7,0).

# losetup /dev/loop3 file

I have tried to attach the file to a loop device and compared the contents of
the file and what is seen through /dev/loop3: the bytes are different. Did
I miss anything? Please advise.

Thanks,

--
Mike

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/