Newsgroups: fj.questions.unix
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!sh.wide!wnoc-snd-ss2!sakunami!kudpc!hakata!astro-aero!kyu-cs!lab!utogw!kuno
From: kuno@gssm.otsuka.tsukuba.ac.jp (Yasushi Kuno)
Subject: Re: problem reading tape
Message-ID: <1994Aug29.030552.16406@gssm.otsuka.tsukuba.ac.jp>
Sender: news@gssm.otsuka.tsukuba.ac.jp
Organization: GSSM Otsuka, Univ. of TSUKUBA, Tokyo, Japan
References: <PRANAV.94Aug26092327@draupadi.cadence.com>
Date: Mon, 29 Aug 1994 03:05:52 GMT
Lines: 26
Xref: galaxy.trc.rwcp.or.jp fj.questions.unix:4273
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.questions.unix&nb=4273&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

Hello,

pranav@cadence.com (Pranav Tiwari) writes:
> Relative Block No   1   Absolute block no.0     length of block = 80
> Relative Block No   2   Absolute block no.1     length of block = 80
> Relative Block No   3   Absolute block no.2     length of block = 80
> Relative Block No   1   Absolute block no.3     length of block = 2000
> Relative Block No   2   Absolute block no.4     length of block = 2000
> Relative Block No   3   Absolute block no.5     length of block = 2000
> I have tried using dd to read the tape, but don't know what to do
> about the non-uniform block size. 

  Give dd possible largest block size (via bs= or ibs= option),
and it can read small blocks perfectly.

  However, it seems that your tape is 2000bytes fixed
block-sized, with prepended 80bytes labels.  Then, you can
skip label blocks using dd's skip= option and handle the rest as
uniform block sized tape.

> Please send your replies directly to me.

  Sure, I'll also mail this to you.

Yasushi Kuno

