From owner-freebsd-questions Wed May 6 13:00:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA07477 for freebsd-questions-outgoing; Wed, 6 May 1998 13:00:50 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gate.leissner.se (gate.leissner.se [193.45.192.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA07413 for ; Wed, 6 May 1998 13:00:26 -0700 (PDT) (envelope-from pol@leissner.se) Received: from leissner.se (uucp@localhost) by gate.leissner.se (8.8.5/8.8.4) with UUCP id UAA08566 for freebsd.org!questions; Wed, 6 May 1998 20:00:25 GMT Received: from lda.leissner.se by lda.leissner.se id aa00551; 6 May 98 22:00 SST Message-Id: <3.0.32.19980506220006.00b90180@lda> X-Sender: pol@lda X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Wed, 06 May 1998 22:00:08 +0200 To: Doug White From: Peter Olsson Subject: Re: What does this mean: cpio: /dev/tty: Device not configured Cc: questions@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id NAA07429 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello and thanks for your reply! Below is an extract from the backup-script. These are the only places where cpio is used in the script, once for writing and once for verifying. I can't see where cpio would write to /dev/tty, but I might miss something. Please tell me my mistake if you see it. BACKUP_FILES="/" IGNORE_FILES="/c/\|/usr/local/squid/cache/\|/usr/spool/news/\|/proc/" BACKUP=backup_all LOG=/usr/local/etc/$BACKUP.log TAPE=/dev/rst0 find $BACKUP_FILES -depth -print 2>>$LOG | grep -v $IGNORE_FILES | cpio -oB -H newc 2>>$LOG > $TAPE cpio -itvB -H newc >/dev/null 2>&1 < $TAPE Thanks for your time! Peter Olsson pol@leissner.se 14:19 1998-05-05 -0700, you wrote: >On Tue, 5 May 1998, Peter Olsson wrote: > >> We use cpio-based backup to tape. It has worked very good for a long >> time but recently we get failures a couple of days per week because of >> "cpio: /dev/tty: Device not configured". > >It's trying to tell you something but since it's not running on a tty >(from cron maybe?) it can't create any output. > >Try ö&'ing the output to sendmail. > >Doug White ö University of Oregon >Internet: dwhite@resnet.uoregon.edu ö Residence Networking Assistant >http://gladstone.uoregon.edu/üdwhite ö Computer Science Major > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message