2.3.40 loop-device-behaviour

From: Ralf Burger (ralf@Inside-Internet.de)
Date: Tue Jan 25 2000 - 00:24:30 EST


hi all,

the loop-device in this kernel shows a little bit strange behaviour:

this script works fine since a long time
----------------------------------------------------------------------
dd if=/dev/zero of=/tmp/fsfile bs=1k count=4000
mkfs.minix /tmp/fsfile 4000
mount -t minix -o loop /tmp/fsfile /mnt/fd2
----------------------------------------------------------------------

but with a 2.3.40-kernel it results in:
----------------------------------------------------------------------
csb:/usr/src/linux # dd if=/dev/zero of=/tmp/fsfile bs=1k count=4000
4000+0 records in
4000+0 records out
csb:/usr/src/linux # mkfs.minix /tmp/fsfile 4000
1344 inodes
4000 blocks
Firstdatazone=46 (46)
Zonesize=1024
Maxsize=268966912

csb:/usr/src/linux # mount -t minix -o loop /tmp/fsfile /mnt/fd2
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       or too many mounted file systems
----------------------------------------------------------------------

loop.o is loaded and minix is supported

lsmod
Module Size Used by
loop 7280 0

mount
/dev/fd0 on /mnt/fd0 type minix (rw)

regards

ralf

-
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/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:14 EST