]> err.no Git - util-linux/commit
libblkid: set correct offsets for TuxOnIce signature
authorChow Loong Jin <hyperair@ubuntu.com>
Fri, 30 Apr 2010 23:55:41 +0000 (07:55 +0800)
committerKarel Zak <kzak@redhat.com>
Thu, 6 May 2010 09:50:30 +0000 (11:50 +0200)
commit8b871c05df74a4604f438b24aeabffe7ce204502
tree660633c915158469dc24c6e4f368dfb010a89c25
parent3f1be691da4da51d3709ae26d4ad32edf163a195
libblkid: set correct offsets for TuxOnIce signature

TuxOnIce stores its signature at the beginning of the swap, rather than
at the end of the first page like swsusp does.

[kzak@redhat.com: - use macro for TOI magic string,
                  - check for TOI in swap probing function to avoid
                    collision between swap and TOI]

Signed-off-by: Chow Loong Jin <hyperair@ubuntu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
shlibs/blkid/src/superblocks/swap.c