mkfs.btrfs doesn't work inside loopback mounted chroot jails: error checking /dev/sda3 mount status

2011-02-04 Thread Bernhard Rosenkraenzer
Hi, mkfs.btrfs aborts unconditionally with "error checking [whatever] mount status" under some circumstances. I'm running into it when using a live CD that boots from a minimal CD image, then does mount -o loop -t squashfs /squashfs.img /mnt/realsystem chroot /mnt/realsystem [stuff you actually

[PATCH] current btrfs-progs-unstable fails to compile

2010-06-18 Thread Bernhard Rosenkraenzer
Hi, current btrfs-progs-unstable fails to compile for me (Ark Linux devel branch, using gcc 4.5 and eglibc 2.12): /usr/bin/ld: btrfsck.o: in function maybe_free_inode_rec:btrfsck.c:323: error: undefined reference to 'S_ISDIR' /usr/bin/ld: btrfsck.o: in function maybe_free_inode_rec:btrfsck.c:340: