summaryrefslogtreecommitdiffstats
path: root/include/swapheader.h
Commit message (Collapse)AuthorAgeFilesLines
* mkswap: remove unnecessary size checkSami Kerola2014-11-071-2/+0Star
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* swapon, swapheader, mkswap: move swap signature to headerSami Kerola2014-05-061-0/+2
| | | | | | | | | | Both swapon and mkswap need to know what is valid device signature, so share the value. [kzak@redhat.com: - use SWAP_SIGNATURE_SZ properly in write_signature()] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* include/swapheader.h: ensure type sizesSami Kerola2014-05-061-5/+7
| | | | | | Use consistently the same type sizes as in libblkid and kernel. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* mkswap: remove legacy swap structureSami Kerola2014-05-061-10/+2Star
| | | | | | | | | | | If software archeolgists want to know how the old, and unused, swap header looked they can dig it from the revision history. [kzak@redhat.com: - use sizeof() for SWAP_HEADER_SIZE] Reference: 4c85aa3a4c26f2a2c33bf16960b548d5bbd5b4bf Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* mkswap, swaplabel: move version number to headerSami Kerola2014-05-041-0/+1
| | | | | | | Corrently only the swap version 1 is supported, which is a magic value so move it to header. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* swaplabel: new commandJason Borden2010-04-021-2/+6
| | | | | | | | | | | Print or change the label / UUID of a swap area. [kzak@redhat.com: - code refactoring - add long options - clean up Makefile.am] Signed-off-by: Jason Borden <jborden@bluehost.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* include: move swapheader.h to includeMatthias Koenig2008-12-051-0/+24
[kzak@redhat.com: add ifndef _SWAPHEADER_H] Signed-off-by: Matthias Koenig <mkoenig@suse.de> Signed-off-by: Karel Zak <kzak@redhat.com>