vdump return codes

From: Charles Vachon <cvachon2_at_mrn.gouv.qc.ca>
Date: Fri, 15 Jan 1999 10:15:43 -0500

Hello SysAdmins,

In order to perfect a home-made backup wrapper shell which calls vdump,
I'm trying to figure out the return codes output by the vdump command.

So far, I have observed the following:

0, if the backup completed without any error or warning.

1, if there was at least one file which could not be backup up, e.g. the
file was enlisted when the vdump built it's list of files, then the file
no longer exists when vdump tried to backup it up. Calling vdump without
any arguments will display it's syntax and also return a code of 1.

Are there any other return code values. Specifically, are more severe
conditions (e.g. a bad tape) reported using a distinct code? The
vdump(8) man page does not even mention the use of return codes.

TIA!

--
===============================================
Charles Vachon    tel: (418) 627-6355 x2760
                email: cvachon2_at_mrn.gouv.qc.ca
                Administrateur de système
                FRCQ/Ministère des Ressources
                  Naturelles du Québec
===============================================
Received on Fri Jan 15 1999 - 15:19:01 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT