Print a warning if system encryption is used and device is a partition.
authorMilan Broz <gmazyland@gmail.com>
Sun, 23 Jun 2013 13:26:45 +0000 (15:26 +0200)
committerMilan Broz <gmazyland@gmail.com>
Sun, 23 Jun 2013 13:26:45 +0000 (15:26 +0200)
commit42b0ab437a6ef332dd33e1eda144d2c3d9a70d23
treeffad6450282e373ddb46642643665d2f539107c9
parenta36de633d50d1e047cf5c0c3bc5e4d16a411fb62
Print a warning if system encryption is used and device is a partition.

System encryption hav metadata in space located ouside of
partition itself.

Ideally the check should be automatic but for virtualized systems
(where a partition could be "whole device" for another sustem this
can be dangerous.
lib/internal.h
lib/tcrypt/tcrypt.c
lib/utils_devpath.c