11-23-2009
lzjb compression in ZFS
Hi all,
I am working on a project based on ZFS. The aim of this project is to read the raw data on disk for data recovery purpose. I started by reading the ZFS documentation of Sun Solaris. I somehow reached UBERBLOCK array of first partiton, and now as given in the document I am reading the block pointers and trying to reach the meta object set. I am getting some structure after I read the Block pointers offset in UBERBLOCK and doing some calculation on that, but I am not sure of the structure. I Want to know about the exact calculations required to reach meta object set and reading the compressed bytes of meta object set. Thanks in advance.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is it possible to unzip / compress a file that was zipped using WinZip?
thanks,
kristy (2 Replies)
Discussion started by: kristy
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I have a .z file which i understand to be UNIX.
I'm on PC (no UNIX boxes) and have tried many different unzipping programs to extract this .z file, but only PicoZip has allowed me to view what is inside (telling me, i think, that it's not corrupt), but i have not been able to extract... (3 Replies)
Discussion started by: Gonecat
3 Replies
3. UNIX for Dummies Questions & Answers
Hi Folks,
As I am familiar wih both types compresion forms: gun-zip and .rpm. My questions is how do I uncompress gunz.zip type? As the .rpm I can double click and it will extract...Can someone shed some light on this and thank you...
M (2 Replies)
Discussion started by: Mombo_Z
2 Replies
4. Shell Programming and Scripting
Hi all,
I am having few files which needs to be concted into a single file and then it is compressed and FTPed from the UNIX server to the Windows server.
For the above purpose i am using gzip command to compress the files after concetenation.
And i am FTP ing the compressed file in the... (3 Replies)
Discussion started by: Codesearcher
3 Replies
5. AIX
Hello everyone
I want to use compression in my tape when I backup some file. For example I have several files that use 50gb. If I backup this I need to use two cartridge because without compression I can backup 36gb.
My question is with flag I need to use to compress and I can use 72gb in... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies
6. Shell Programming and Scripting
Hi Guys,
totally new to scripting.
I have a huge list of foleders.
I want to tar the contents of each folder inside the same folder and the name of the tar file is the same name as the folder.
how would I go about this in scirpt?
cheers
Viper (3 Replies)
Discussion started by: brownviper1966
3 Replies
7. Shell Programming and Scripting
I'am looking for script (or tool) that would compress all files with given extension in all subdirectory. Important part is that every one file have to end in separate archive whit it's own name.
Eaven if I could point multiple file in one directory and compress them it would be ok.
I' am... (1 Reply)
Discussion started by: Demerzel
1 Replies
8. Linux
Hi all,
I am working on a sample backup code, where i read the files per 7200 bytes and send it to server. Before sending to server, i compress each 7200 bytes using zlib compression algorithm using dictionary max length of 1.5 MB . I find zlib is slow.
Can anyone recommend me a... (3 Replies)
Discussion started by: selvarajvss
3 Replies
LEARN ABOUT DEBIAN
bio::seqio::metafasta
Bio::SeqIO::metafasta(3pm) User Contributed Perl Documentation Bio::SeqIO::metafasta(3pm)
NAME
Bio::SeqIO::metafasta - metafasta sequence input/output stream
SYNOPSIS
Do not use this module directly. Use it via the Bio::SeqIO class.
use Bio::SeqIO;
# read the metafasta file
$io = Bio::SeqIO->new(-file => "test.metafasta",
-format => "metafasta" );
$seq = $io->next_seq;
DESCRIPTION
This object can transform Bio::Seq::Meta objects to and from metafasta flat file databases.
For sequence part the code is an exact copy of Bio::SeqIO::fasta module. The only added bits deal with meta data IO.
The format of a metafasta file is
>test
ABCDEFHIJKLMNOPQRSTUVWXYZ
&charge
NBNAANCNJCNNNONNCNNUNNXNZ
&chemical
LBSAARCLJCLSMOIMCHHULRXRZ
where the sequence block is followed by one or several meta blocks. Each meta block starts with the ampersand character '&' in the first
column and is immediately followed by the name of the meta data which continues until the new line. The meta data follows it. All
characters, except new line, are important in meta data.
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one
of the Bioperl mailing lists. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address
it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the
web:
https://redmine.open-bio.org/projects/bioperl/
AUTHOR - Heikki Lehvaslaiho
Email heikki-at-bioperl-dot-org
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
next_seq
Title : next_seq
Usage : $seq = $stream->next_seq()
Function: returns the next sequence in the stream
Returns : Bio::Seq object
Args : NONE
write_seq
Title : write_seq
Usage : $stream->write_seq(@seq)
Function: writes the $seq object into the stream
Returns : 1 for success and 0 for error
Args : array of 1 to n Bio::PrimarySeqI objects
width
Title : width
Usage : $obj->width($newval)
Function: Get/Set the line width for METAFASTA output
Returns : value of width
Args : newvalue (optional)
perl v5.14.2 2012-03-02 Bio::SeqIO::metafasta(3pm)