Bug#350922: [Pkg-cryptsetup-devel] Bug#350922: not existant

gebi at sbox.tugraz.at gebi at sbox.tugraz.at
Thu Feb 2 16:58:47 UTC 2006


Quoting Jonas Meurer <jonas at freesources.org>:

> 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





More information about the Pkg-cryptsetup-devel mailing list