http://bugzilla.novell.com/show_bug.cgi?id=546860 http://bugzilla.novell.com/show_bug.cgi?id=546860#c2 Dongyang Li <dyli@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dyli@novell.com --- Comment #2 from Dongyang Li <dyli@novell.com> 2010-02-05 01:49:54 UTC --- the magic of btrfs sits on the disk with a offset 0x10040(64 * 1024 + 0x40), while the magic of swap has a offset pagesize() - 10(usually 0xff6). and mkswap just wipes out the first 1024 bytes of the disk and writes the swap magic, when blkid checks the disk again, it will see two magics, so that's why you won't see it with blkid. blkid and mkswap are both from util-linux-ng, with 2.17, there is a new tool named wipefs, with which you can see the all magics on the disk, and a simple wipefs -a /dev/sdXX will simply wipe out all the magics on the disk, then you can mkswap on it again, and blkid will happily report it as a swap. the version of util-linux-ng in OpenSUSE 11.2 is 2.16, so you don't have wipefs right now. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.