Re: [PATCH] libblkid: Add initial support for BeFS detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/1/14 Jeroen Oortwijn <oortwijn@xxxxxxxxx>:
> Add initial support for detection of the Be File System
> <http://en.wikipedia.org/wiki/Be_File_System> to libblkid.
[...]
> +       .magics         = {
> +               { .magic = "1SFB", .len = 4, .sboff = 0x220 },
> +               { NULL }
> +       }

The superblock of the Be File System contains three magic numbers and
I initially added all three of them to .magics. However, when testing
the code I realised that libblkid checks if the superblock contains at
least one of these three instead of (what I thought it would do)
checking if the superblock contains all of them. So to reduce the
change of misdetection, I removed the last two magic numbers. Is there
a way to make libblkid check if the superblock contains all three
magic numbers?

- Jeroen
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux