Running CPIO from scripts
Hello,
When I run CPIO from a script I get an error saying "cpio: write error: No space left on device" but when I run the cpio command from the command line it works. Any ideas what Im doing wrong? Below is the scrip I created and then the command line I ran. I am running both as root. BTW Im using Redhat Enterprise 4
The script:
mt -f /dev/st0 retension
find /data/. >>backuplist
cpio -ov <backuplist >/dev/sd0
The command
cpio -ov <./backuplist >/dev/sd0
Any ideas as to why the script fails but the command line doesn't?
Thanks
Thron
|