[Q] mount in a tcsh shell script

From: Andreas Bungert [ET] <bungert_at_rhrk.uni-kl.de>
Date: Tue, 14 Nov 1995 17:45:19 +0100 (CET)

Hi osf-managers,

I have the following problem:

I want to perform the following backup procedure out of a shell script:

#/usr/sbin/clonefset root_domain root clone_root
#/sbin/mount -t advfs root_domain#clone_root /clone_root
#/sbin/vdump -0uvf /dev/nrmt0h /clone_root
#/sbin/umount /clone_root
#/sbin/rmfset root_domain clone_root

When I enter the commands directly to the tcsh, everthing works fine.
But if i use these commands in a shell script (tcsh), the mount command
shows the following message:

mount: unknown special file or file system root_domain

The mountpoint /clone_root exists and the clonefset is performed correctly.

Regards,
        Andreas

-----------------------------------------------------------------
Andreas Bungert
University of Kaiserslautern (Germany)
Department of Electrical Engineering
Institute for Digital Systems
bungert_at_rhrk.uni-kl.de
-----------------------------------------------------------------
Received on Wed Nov 15 1995 - 01:51:55 NZDT

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