On Tue, Dec 21, 2010 at 02:22:37PM +0100, Jiri B. wrote: > On Mon, Nov 29, 2010 at 02:22:35PM -0800, Chris Kuethe wrote: > >Currently bioctl invokes readpassphrase(3) with RPP_REQUIRE_TTY, which > >means that there must be a controlling tty to read the password from. > >This diff adds an option (-s) to force bioctl to read the passphrase > >from stdin. Without this option existing behavior is maintained. > > Hello, > > little improvement of bioctl(8), when using stdin it cannot be used > for inital creation of the crypt volume. (there's same info for passfile.) > > jirib >
fixed, thanks. jmc > Index: bioctl.8 > =================================================================== > RCS file: /cvs/src/sbin/bioctl/bioctl.8,v > retrieving revision 1.83 > diff -u -p -r1.83 bioctl.8 > --- bioctl.8 1 Dec 2010 19:40:18 -0000 1.83 > +++ bioctl.8 21 Dec 2010 13:20:39 -0000 > @@ -240,6 +240,7 @@ Read the passphrase for the selected cry > .Pa /dev/stdin > rather than > .Pa /dev/tty . > +It cannot be used during the initial creation of the crypto volume. > .El > .Sh EXAMPLES > The following command, executed from the command line, would configure