On Friday 2012-03-30 17:13, Jan Engelhardt wrote: >Attempting to run `df` on a read-only btrfs crashes the kernel: > # losetup -r -o $[313344*512] /dev/loop4 wholedisk.img > # mount -o ro /dev/loop4 /mnt >device fsid 4ba1fa38-d62b-4940-9825-7e6cceb7fcc8 devid 1 transid 4333 /dev/loop4 > # df >kernel BUG at [openSUSE 12.1 Rescue CD kernel] /home/abuild/rpmbuild/BUILD/kernel-default-3.1.0/linux-3.1/fs/btrfs/super.c:984! > 983: nr_devices = fs_info->fs_devices->rw_devices; >>984: BUG_ON(!nr_devices); Turns out this was addressed in later stable kernels of theirs (which rescue cds unfortunately seldom get). -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
