btrfs

Vladimir Dronnikov dronnikov at gmail.com
Sun Nov 1 21:15:08 UTC 2009


>
> util-linux/volume_id/btrfs.c:32: error: expected specifier-qualifier-list before '__le64'
> util-linux/volume_id/btrfs.c:51: error: expected specifier-qualifier-list before '__le64'
> util-linux/volume_id/btrfs.c: In function 'volume_id_probe_btrfs':
> util-linux/volume_id/btrfs.c:92: error: 'struct btrfs_super_block' has no member named 'magic'
> util-linux/volume_id/btrfs.c:96: error: 'struct btrfs_super_block' has no member named 'label'
> make[1]: *** [util-linux/volume_id/btrfs.o] Error 1
> make: *** [util-linux/volume_id] Error 2

Argh. I'm sure it was building cleanly on my system... Different /usr/include?

>
> Fixed this and committed. Thanks.

BTW, what if one prepares such a VFAT (say) filesystem, which would
contain the signature being searched at that exactly location
(64K+displacement)? We'd then have to report wrong filesystem type? Is
this a real problem, or we just rely on heuristics?

--
Vladimir


More information about the busybox mailing list