Article View: comp.unix.admin
Article #4078Re: Archive overwriting.
From: Marc SCHAEFER
Date: Sun, 20 Oct 1996 00:00
Date: Sun, 20 Oct 1996 00:00
34 lines
1840 bytes
1840 bytes
In article <x7sp79n5jf.fsf@remote37.channel1.com>, hacksaw@user1.channel1.com writes: >In any case, you may be able to simply cat the entire tape in a file, >cat /dev/rst0 > save_our_asses.dat > >This may run into a problem if cat decides it's had enough the first >time it sees a ^D. ^D is only on specific line disciplines for tty. This is more an EOF. In that case, use mt fsf 1 > Also have a look at dd. yep > Further, you may be able to get past the problem by just hitting the > tape again after going past the first archive. On many machines, the > devices names that begin with "n" don't rewind. (for 'no rewind') Yes, but usually you need mt fsf anyway to skip the EOF. BTW: fr hierarchy is french speaking, try not to cross-post there if you don't translate. La question �tait de savoir comment r�cup�rer un DAT dont le 1er fichier est d�truit. Le plus simple est de faire (tcsh) setenv TAPE /dev/rmt/0n # device non rewind, UNIX-version dependant mt rewind mt fsf 1 # commande usuelle, ou un dd.
Technical Details
Message-ID:
<DzKzru.5FJ@alphanet.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<326A1C0A.41C6@ujf-grenoble.fr>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f8c9b,e82f7f735de1884a X-Google-Attributes: gidf8c9b,public X-Google-Thread: fc89c,e82f7f735de1884a X-Google-Attributes: gidfc89c,public X-Google-Thread: 1020c6,e82f7f735de1884a X-Google-Attributes: gid1020c6,public X-Google-Thread: 110f2c,e82f7f735de1884a X-Google-Attributes: gid110f2c,public From: schaefer@vulcan.alphanet.ch (Marc SCHAEFER) Subject: Re: Archive overwriting. Date: 1996/10/20 Message-ID: <DzKzru.5FJ@alphanet.ch> X-Deja-AN: 190907045 sender: news@alphanet.ch (USENET News) references: <326A1C0A.41C6@ujf-grenoble.fr> organization: ALPHANET NF - Research and information - Not for profit newsgroups: comp.unix.admin,comp.unix.programmer,comp.unix.questions,fr.comp.os.unix