Package: util-linux
Version: 2.20.1-5.5
Severity: wishlist
File: /usr/share/man/man8/mkswap.8.gz

Whereas people using mkswap on the wrong partitions is a daily
occurrence, therefore the man page should mention the antidote needed in
case of such accidents.

# fsck /dev/victim
will clean up most of the mess,
however gparted and friends will still
complain about that partition with
WARNING SIGN ⚠ etc.

Therefore another step is needed too...

OK, I made a swapfile,
$ hexdump swapfile
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0000400 0001 0000 0009 0000 0000 0000 29bf f1fa
0000410 3d6b 6044 34a4 79c5 fa9f 0fee 0000 0000
0000420 0000 0000 0000 0000 0000 0000 0000 0000
*
0000ff0 0000 0000 0000 5753 5041 5053 4341 3245
(the UUID and the word SWAP...)

Say on the man page if that is all that the mkswap does to partitions
as well as files...

Digging through the mkswap.c source code is 100 times harder to try to
figure out what mkswap actually does to the system than if it is
mentioned clearly on the man page.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to