*BSD News Article 13353


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!data.nas.nasa.gov!wilbur.nas.nasa.gov!tweten
From: tweten@wilbur.nas.nasa.gov (Dave Tweten)
Subject: Re: /dev/rmt8: Bad Filfile descriptor ????
References: <1993Mar24.064408.902@pyrian.com> <C4F7G5.EyD@acsu.buffalo.edu>
Sender: news@nas.nasa.gov (News Administrator)
Organization: NAS Systems Division, NASA Ames
Date: Thu, 25 Mar 93 20:35:52 GMT
Message-ID: <1993Mar25.203552.18378@nas.nasa.gov>
Lines: 17

In article <C4F7G5.EyD@acsu.buffalo.edu> ferrick@acsu.buffalo.edu (Patrick K. Ferrick) writes:
>
>I get 
>
>tar: can't open /dev/rmt8: bad file descriptor
>
>when I try to run tar. (386bsd 0.1, Julians' SCSI drivers, otherwise generic)

That's because you forgot to use the "-f /dev/rst0" option on tar (or
something like that).  Tar used its default archive file name,
/dev/rmt8, which you don't have.  If you want to change the default, you
can edit a CFLAG in tar's Makefile and rebuild it.
-- 
---------------------------------------------------------------------------
Dave Tweten						tweten@nas.nasa.gov
NASA Ames Research Center, M/S 258-5			     (415) 604-4416
Moffett Field, CA  94035-1000				FAX: (415) 604-4377