[arch-projects] [RFC 16/23] Support Arch Linux idioms for the key field (ASK, SWAP)

Tom Gundersen teg at jklm.no
Fri May 18 19:09:49 EDT 2012


The wording of these warnings might be a controversial, so just adding:

Acked-by: Tom Gundersen <teg at jklm.no>

to make sure some of the hate goes my way :-)

On Fri, May 18, 2012 at 6:22 PM, Matthew Monaco <dgbaley27 at 0x01b.net> wrote:
> From: Matthew Monaco <matthew.monaco at 0x01b.net>
>
> ---
>  cryptmount.sh |    9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/cryptmount.sh b/cryptmount.sh
> index 59c6c78..3844e01 100755
> --- a/cryptmount.sh
> +++ b/cryptmount.sh
> @@ -302,6 +302,15 @@ ct_read_crypttab() {
>                        /dev/random|/dev/urandom)
>                                options="$options,%random"
>                                ;;
> +                       ASK)
> +                               info "$CRYPTTAB:$lineno: ASK is a deprecated key, please use '-' or 'none'"
> +                               key=-
> +                               ;;
> +                       SWAP)
> +                               info "$CRYPTTAB:$lineno: SWAP is a deprecated key, please use '/dev/urandom' and the 'swap' option"
> +                               key="/dev/urandom"
> +                               options="$options,swap,%random"
> +                               ;;
>                        /*|UUID=*|PARTUUID=*|LABEL=*)
>                                :
>                                ;;
> --
> 1.7.10.2
>


More information about the arch-projects mailing list