Quoting Jonas Meurer <[EMAIL PROTECTED]>:

there simply is no prechecks/swap script available. the cryptsetup
sources provide a rough idea of one, but it's far from good.
though, a postchecks/swap script exists.

That broughts to the question, what's the difference between pre and postchecks? Imho there is none for filesystem-checks.... only the interpretation of the return-values are different.

if you've an idea about how to precheck swap devices, or want to improve
the skeleton from the cryptsetup sources, please feel free to provide a
patch.

What exactly should a precheck for swap do?
Imho it should check if there is _any_ valied filesystem on the swappartition and refuses to format it if there is any (because swap is really dangerous in this situation).

greets,
Michael Gebetsroither



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to