Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to determine the encoding of this dd image? Post 302910889 by NICEPeppino on Monday 28th of July 2014 06:59:02 PM
Old 07-28-2014
The logger was sold years ago and I just joined the company. I was asked to extract the data from these tapes

The logger I was told was a normal computer with two tape drivers.
I cannot tell more about it because I do not know anything about it

I am trying to figure out how I can create a program which retrieve again the audio data inside these tapes

I have already concatenated all audio chunks by channel but at the end I couldn't hear anything from the generated files

I believe there is some data manipulation that needs to be done before playing it

You were talking about stream and fixed data chunks. Can you please tell me where I can read more about these topics and in particular about tape data structure. Why tapes are divided in blocks? and why there is a metadata for each block?

Thanks

Last edited by NICEPeppino; 07-29-2014 at 05:04 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Create an Ignite image on tape from Online IgniteUX image

Hi, (HP-UX 11.11) I need to create a tape image of an igniteUX image created on our igniteUX server. That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Discussion started by: Andrek
3 Replies

2. UNIX for Dummies Questions & Answers

encoding

Hi, I'm using putty and when I try to write ü it writes | (or when I try to write é , it writes i) I tried to change settings/translation of putty but with no success I have KSH # locale LANG= LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C"... (3 Replies)
Discussion started by: palmer18
3 Replies

3. Shell Programming and Scripting

URL encoding

Hi All, I want to do URL encoding using shell script in my project. I decided that the sed is the correct tool to do this. But I am unable achieve what I wanted using sed. kindly help me to get rid of this. My requirement is , there will be one URL with all special character, spaces etc... ... (8 Replies)
Discussion started by: Vichu
8 Replies

4. Shell Programming and Scripting

Araic Encoding

hi folks , I have a shell script which contain SQL query that dump some data from the DB in arabic and this data is written to a file in unix machine but the problem that the arabic data is appear like ??????????|111|???????? even when I move it to my windows XP machine. Any one have an Idea... (2 Replies)
Discussion started by: habuzahra
2 Replies

5. UNIX for Dummies Questions & Answers

Encoding Type

Hi, Where can I find the encoding type in a unix server ? Thanks in advance !!! (1 Reply)
Discussion started by: risshanth
1 Replies

6. Shell Programming and Scripting

UTF8 encoding

Hi experts, I have a gz file from other system(solaris), which is ftped to our system(solaris). After gunzip, the file is a xml file and we are using ORACLE built in xml transformiing tool ORAXSL to transform XML to TXT. Now the issue is we come accross issue regarding UTF8 as below:... (1 Reply)
Discussion started by: summer_cherry
1 Replies

7. Shell Programming and Scripting

How to find the file encoding and updating the file encoding?

Hi, I am beginner to Unix. My requirement is to validate the encoding used in the incoming file(csv,txt).If it is encoded with UTF-8 format,then the file should remain as such otherwise i need to chnage the encoding to UTF-8. Please advice me how to proceed on this. (7 Replies)
Discussion started by: cnraja
7 Replies

8. Solaris

Encoding problem

Hi All, Hope you can help me with the below :). I'm working on a script on SUN solaris and I'm facing a problem with the number encoding as shown below, 1 is encoded to 31 (this is ASCII so it's ok) 11 is encoded as B118 !!! don't know why 111 is encoded as B1580C !!! don't know why ... (4 Replies)
Discussion started by: /dev/bag
4 Replies

9. Shell Programming and Scripting

matching image files to create one image

Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Discussion started by: kylle345
6 Replies

10. Solaris

View file encoding then change encoding.

Hi all!! I´m using command file -i myfile.xml to validate XML file encoding, but it is just saying regular file . I´m expecting / looking an output as UTF8 or ANSI / ASCII Is there command to display the files encoding? Thank you! (2 Replies)
Discussion started by: mrreds
2 Replies
MT(1)							      General Commands Manual							     MT(1)

NAME
mt - control magnetic tape drive operation SYNOPSIS
mt [-h] [-f device] operation [count] [arguments...] DESCRIPTION
This manual page documents the tape control program mt. mt performs the given operation, which must be one of the tape operations listed below, on a tape drive. The commands can also be listed by running the program with the -h option. The version of mt is printed with the -v or --version option. The path of the tape device to operate on can be given with the -f or -t option. If neither of those options is given, and the environment variable TAPE is set, it is used. Otherwise, a default device defined in the file /usr/include/sys/mtio.h is used. Some operations optionally take an argument or repeat count, which can be given after the operation name and defaults to 1. The available operations are listed below. Unique abbreviations are accepted. Not all operations are available on all systems, or work on all types of tape drives. fsf Forward space count files. The tape is positioned on the first block of the next file. fsfm Forward space count files. The tape is positioned on the last block of the previous file. bsf Backward space count files. The tape is positioned on the last block of the previous file. bsfm Backward space count files. The tape is positioned on the first block of the next file. asf The tape is positioned at the beginning of the count file. Positioning is done by first rewinding the tape and then spacing forward over count filemarks. fsr Forward space count records. bsr Backward space count records. fss (SCSI tapes) Forward space count setmarks. bss (SCSI tapes) Backward space count setmarks. eod, seod Space to end of valid data. Used on streamer tape drives to append data to the logical and of tape. rewind Rewind the tape. offline, rewoffl, eject Rewind the tape and, if applicable, unload the tape. retension Rewind the tape, then wind it to the end of the reel, then rewind it again. weof, eof Write count EOF marks at current position. wset (SCSI tapes) Write count setmarks at current position (only SCSI tape). erase Erase the tape. status Print status information about the tape unit. (If the density code is "no translation" in the status output, this does not affect working of the tape drive.) seek (SCSI tapes) Seek to the count block on the tape. This operation is available on some Tandberg and Wangtek streamers and some SCSI-2 tape drives. The block address should be obtained from a tell call earlier. tell (SCSI tapes) Tell the current block on tape. This operation is available on some Tandberg and Wangtek streamers and some SCSI-2 tape drives. setpartition (SCSI tapes) Switch to the partition determined by count. The default data partition of the tape is numbered zero. Switching parti- tion is available only if enabled for the device, the device supports multiple partitions, and the tape is formatted with multiple partitions. partseek (SCSI tapes) The tape position is set to block count in the partition given by the argument after count. The default partition is zero. mkpartition (SCSI tapes) Format the tape with one (count is zero) or two partitions (count gives the size of the second partition in megabytes). The tape drive must be able to format partitioned tapes with initiator-specified partition size and partition support must be enabled for the drive. load (SCSI tapes) Send the load command to the tape drive. The drives usually load the tape when a new cartridge is inserted. The argu- ment count can usually be omitted. Some HP changers load tape n if the count 10000 + n is given (a special funtion in the Linux st driver). lock (SCSI tapes) Lock the tape drive door. unlock (SCSI tapes) Unlock the tape drive door. setblk (SCSI tapes) Set the block size of the drive to count bytes per record. setdensity (SCSI tapes) Set the tape density code to count. The proper codes to use with each drive should be looked up from the drive docu- mentation. densities (SCSI tapes) Write explanation of some common density codes to standard output. drvbuffer (SCSI tapes) Set the tape drive buffer code to number. The proper value for unbuffered operation is zero and "normal" buffered operation one. The meanings of other values can be found in the drive documentation or, in case of a SCSI-2 drive, from the SCSI-2 standard. compression (SCSI tapes) The compression within the drive can be switched on or off using the MTCOMPRESSION ioctl. Note that this method is not supported by all drives implementing compression. For instance, the Exabyte 8 mm drives use density codes to select compression. stoptions (SCSI tapes) Set the driver options bits for the device to the defined values. Allowed only for the superuser. The bits can be set either by oring the option bits from the file /usr/include/linux/mtio.h to count, or by using the following keywords (as many key- words can be used on the same line as necessary, unambiguous abbreviations allowed): buffer-writes buffered writes enabled async-writes asynchronous writes enabled read-ahead read-ahead for fixed block size debug debugging (if compiled into driver) two-fms write two filemarks when file closed fast-eod space directly to eod (and lose file number) no-wait don't wait until rewind, etc. complete auto-lock automatically lock/unlock drive door def-writes the block size and density are for writes can-bsr drive can space backwards well no-blklimits drive doesn't support read block limits can-partitions drive can handle partitioned tapes scsi2logical seek and tell use SCSI-2 logical block addresses instead of device dependent addresses sysv enable the System V semantics stsetoptions (SCSI tapes) Set selected driver options bits. The methods to specify the bits to set are given above in description of stoptions. Allowed only for the superuser. stclearoptions (SCSI tapes) Clear selected driver option bits. The methods to specify the bits to clear are given above in description of stop- tions. Allowed only for the superuser. stwrthreshold (SCSI tapes) The write threshold for the tape device is set to count kilobytes. The value must be smaller than or equal to the driver buffer size. Allowed only for the superuser. defblksize (SCSI tapes) Set the default block size of the device to count bytes. The value -1 disables the default block size. The block size set by setblk overrides the default until a new tape is inserted. Allowed only for the superuser. defdensity (SCSI tapes) Set the default density code. The value -1 disables the default density. The density set by setdensity overrides the default until a new tape is inserted. Allowed only for the superuser. defdrvbuffer (SCSI tapes) Set the default drive buffer code. The value -1 disables the default drive buffer code. The drive buffer code set by drvbuffer overrides the default until a new tape is inserted. Allowed only for the superuser. defcompression (SCSI tapes) Set the default compression state. The value -1 disables the default compression. The compression state set by compres- sion overrides the default until a new tape is inserted. Allowed only for the superuser. sttimeout sets the normal timeout for the device. The value is given in seconds. Allowed only for the superuser. stlongtimeout sets the long timeout for the device. The value is given in seconds. Allowed only for the superuser. stsetcln set the cleaning request interpretation parameters. mt exits with a status of 0 if the operation succeeded, 1 if the operation or device name given was invalid, or 2 if the operation failed. AUTHOR
The program is written by Kai Makisara <Kai.Makisara@metla.fi>. COPYRIGHT
The program and the manual page are copyrighted by Kai Makisara, 1998-2001. They can be distributed according to the GNU Copyleft. SEE ALSO
st(4) November 2001 MT(1)
All times are GMT -4. The time now is 05:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy