Re: VOLHDR or something

"Zoran Ljubisic" <[email protected]> Mon, 19 Dec 2005 07:47:05 +0100
Newsgroups gmane.comp.archivers.star.user
Message-ID <006101c60468$3d38a470$fd01a8c0@zoran>
Joerg Schilling wrote:
> "Zoran Ljubisic" <[email protected]> wrote:
>
>> Joerg Schilling wrote:
>>> "Zoran Ljubisic" <[email protected]> wrote:
>>>
>>>> star -c f=/dev/st0 VOLHDR=Test .
>>>>
>>>> How can I read VOLHDR from tape?
>>>> I don't want to extract nothing but a VOLHDR.
>>>
>>> This script "finds" the file mark position on tape asuming that
>>> the volhdr is follows a "hostname:directory" rule:
>>
>> I used your script as base for my. On suse 9.3 or 10.0 there is man
>> match page, but there is not match command?!?
>> Therefore I must use grep and other tricks to achive same result.
>>
>> TAPE="/tmp/kaseta.star"
>>
>> dd if=$TAPE bs=500b count=1 of=/tmp/sdd.$$ 2> /dev/null
>> Zaglavlje=`star -tv f=/tmp/sdd.6808 2> /dev/null | grep "Volume
>> Header" | awk '{print $9}'`
>
> Why do you use a completely unsuitable blocksize although my script
> was OK?

Based on my empirical experience I find out that using block size 500x512 
and FIFO 8m gives the best results on my suse 9.3 prof. server. I wrote 
about that before, but you never answered.



Portability is not important because I menage only one linux server.



Zoran