cvs commit: src/sbin/geom/class/eli geom_eli.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Feb 11 05:04:16 PST 2006


pjd         2006-02-11 13:04:10 UTC

  FreeBSD src repository

  Modified files:
    sbin/geom/class/eli  geom_eli.c 
  Log:
  - Allow to use -b without passphrase or with keyfiles as it will be
    supported for a moment.
  - Don't allow to use -i when no passphrase is given. Now if iterations is
    equal to -1 (not set), we know that we should not ask for the passphrase
    on boot.
    It still doesn't handle situation when one key is protected with
    passphrase and the other is not. There is no quick fix for this.
    The complete solution will be to make number of iterations a per-key
    value. Because this need metadata format change and is only needed for
    devices attached on boot, I'll leave it as it is for now.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.9       +16 -20    src/sbin/geom/class/eli/geom_eli.c


More information about the cvs-src mailing list