From linux-crypto Fri Jan 11 18:32:14 2002 From: Marc Mutz Date: Fri, 11 Jan 2002 18:32:14 +0000 To: linux-crypto Subject: Re: losetup -p -- how? X-MARC-Message: https://marc.info/?l=linux-crypto&m=101086611313576 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 10 January 2002 12:32, ragnagock@gmx.de wrote: > How do I use the > losetup -p > feature within a shell script? losetup -p5 [...] 5< file reads the passphrase from "file" through file descriptor 5. The shell will do all opening and closing for you. echo | losetup -p0 [...] will read it from stdin (ie. the output of echo). Marc - -- It has become fashionable in the post Cold War world to label opponents as terrorists [...]. By doing so, the authorities instill within society a culture of fear, leading people to accept that their rights (and the rights of others) be trampled on for the sake of the common good. In other words, it justifies the loss of privacy and a state of surveillance they would otherwise not accept. Both communism and fascism were examples of this technique used to perfection. -- John Horvath: The Internet: A Terrorist Network? Telepolis 2001/08/22 (#9350) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8Py+43oWD+L2/6DgRAkQcAKDtkAKNQQbfrdqvZEEeI7hrIUQMGwCgzIuv tMS9GMh1KCPoh4XMDEqoLdY= =+9XM -----END PGP SIGNATURE----- - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/