0x10000 is in the middle of swap data. If vol_id checked for that first, wouldn't it be quite possible (not even all that unlikely if a reiserfs superblock had been swapped out ...) for it to run into something that looked like reiserfs or any other filesystem in the middle of the swap data? The swap data could be anything.
I have to say that mkreiserfs seems like the buggy program here.
0x10000 is in the middle of swap data. If vol_id checked for that first, wouldn't it be quite possible (not even all that unlikely if a reiserfs superblock had been swapped out ...) for it to run into something that looked like reiserfs or any other filesystem in the middle of the swap data? The swap data could be anything.
I have to say that mkreiserfs seems like the buggy program here.