10-12-2006
My sun box (solaris 8) I have here says (via man) that 20 is the default. I ran the same command you did but the test option doesn't show the blocking factor. I tried it with a blocking factor of 30 but it still didn't show it.
Carl
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
When trying to extract a tar file in HP-UX using tar -xvf command it exits with the following error :"Tar: tape blocksize error".
Tar file is created using the following command with MKS toolkit(Unix Simulation Kit for Windows env) under Windows 2000 Professional:
"$tar -cvf test.tar test.txt... (1 Reply)
Discussion started by: ramkumar
1 Replies
2. UNIX for Dummies Questions & Answers
I was recently given the responsibility of the unix box at our work. Without much training, I now have to go back and restore a file from tape. I'm having some trouble with it. I'm getting an error with the blocksize.
The part of the script that does the tar looks like this:
tar cvfX... (11 Replies)
Discussion started by: citrowske
11 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have tar: tape blocksize error when launching
# gunzip < TierDB.tar.gz |tar -xvf /data/ora/DREC
tar: tape blocksize error
Can you please help me ? It is urgent.
Many thanks. (1 Reply)
Discussion started by: big123456
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
When doing tar -xvf to untar, some tar versions display the blocksize:
“tar: blocksize = 6”
my goal is to avoid this message. One way of doing it is to specify the blocksize:
tar -xvfb <tar_file> 6
Is there a setting in tar or a tar version to avoid this type of message without... (0 Replies)
Discussion started by: melanie_pfefer
0 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
While viewing tar file using "tar tf file.tar" command, I have received
"tar: blocksize = 0" message and while extracting a particular file from the same tar file (file.tar) I have received the same message and nothing is extracted.
Above commands ran in a shell script so, I... (3 Replies)
Discussion started by: Tlogine
3 Replies
6. Solaris
Hi,
i have got a tar file some 200MB big and i have ftp'ed the tar file over from one server to another but it does not seem to extract. its giving the following message:
tar xvf saptar
tar: blocksize = 2
Its the first time i used tar so I not got any ideas why its giving this message?... (2 Replies)
Discussion started by: scriptingmani
2 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies
8. Shell Programming and Scripting
HI,
if I have a tarfile called pmapdata.tar that contains
tar -tvf pmapdata.tar
-rw-r--r-- 0/0 21 Oct 15 11:00 2009 /var/tmp/pmapdata/pmap4628.txt
-rw-r--r-- 0/0 21 Oct 14 20:00 2009 /var/tmp/pmapdata/pmap23752.txt
-rw-r--r-- 0/0 1625 Oct 13 20:00 2009... (1 Reply)
Discussion started by: borderblaster
1 Replies
9. Shell Programming and Scripting
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
LEARN ABOUT OPENSOLARIS
mlib_signalupsample_f32_f32
mlib_SignalUpSample_S16_S16(3MLIB) mediaLib Library Functions mlib_SignalUpSample_S16_S16(3MLIB)
NAME
mlib_SignalUpSample_S16_S16, mlib_SignalUpSample_S16S_S16S, mlib_SignalUpSample_F32_F32, mlib_SignalUpSample_F32S_F32S - signal upsampling
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalUpSample_S16_S16(mlib_s16 *dst,
const mlib_s16 *src, mlib_s32 factor, mlib_s32 phase,
mlib_s32 n);
mlib_status mlib_SignalUpSample_S16S_S16S(mlib_s16 *dst,
const mlib_s16 *src, mlib_s32 factor, mlib_s32 phase,
mlib_s32 n);
mlib_status mlib_SignalUpSample_F32_F32(mlib_f32 *dst,
const mlib_f32 *src, mlib_s32 factor, mlib_s32 phase,
mlib_s32 n);
mlib_status mlib_SignalUpSample_F32S_F32S(mlib_f32 *dst,
const mlib_f32 *src, mlib_s32 factor, mlib_s32 phase,
mlib_s32 n);
DESCRIPTION
Each of these functions performs upsampling.
For monaural signals, the following equation is used:
dst[i] = src[k] if i == k*factor + phase
dst[i] = 0 if i != k*factor + phase
where k = 0, 1, ..., (n - 1); i = 0, 1, ..., (n*factor - 1).
For stereo signals, the following equation is used:
dst[2*i] = src[2*k] if i == k*factor + phase
dst[2*i] = 0 if i != k*factor + phase
dst[2*i + 1] = src[2*k + 1] if i == k*factor + phase
dst[2*i + 1] = 0 if i != k*factor + phase
where k = 0, 1, ..., (n - 1); i = 0, 1, ..., (n*factor - 1).
PARAMETERS
Each of the functions takes the following arguments:
dst Output signal array.
src Input signal array.
factor Factor by which to upsample. factor >= 1.
phase Parameter that determines relative position of an input value, within the output signal. 0 <= phase < factor.
n Number of samples in the input signal array.
RETURN VALUES
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
mlib_SignalDownSample_S16_S16(3MLIB), attributes(5)
SunOS 5.11 2 Mar 2007 mlib_SignalUpSample_S16_S16(3MLIB)