specifying multiple postrun commands

Tom Goulet <[email protected]> Tue, 1 Jul 2003 17:12:40 +0000
Newsgroups gmane.comp.sysutils.backup.hdup.devel
Message-ID <[email protected]>
--7qSK/uQB79J36Y4o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


I would like to have my Hdup configuration file have this:
| postrun =3D umount /backup && hdparm -Y /dev/hdd

But when Hdup runs I get this error:
| umount: invalid option -- Y
| Usage: umount [-hV]
|        umount -a [-f] [-r] [-n] [-v] [-t vfstypes] [-O opts]
|        umount [-f] [-r] [-n] [-v] special | node...
| hdup: WARNING: Could not perform the command: umount /backup __ hdparm -Y=
 /dev/hdd!
| hdup: WARNING: Postscript executed with errors!

I think you should pass the "postrun" command line to the "system"
library call unchanged.

--=20
Tom Goulet, [email protected], D8BAD3BC, http://web.em.ca/~tomg/contact.html

--7qSK/uQB79J36Y4o
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/AcEIeft5KNi607wRArn6AJ9uP/iACs02wY4HegWJ4iT4eGXlAwCguXuU
lIXJZjvIWSCF5VzLwDaJuck=
=hNah
-----END PGP SIGNATURE-----

--7qSK/uQB79J36Y4o--