LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2012, 10:13 PM   #1
chinabenjamin66
Member
 
Registered: Mar 2012
Location: Shenzhen Chian
Posts: 73

Rep: Reputation: Disabled
Can anyone explain what is chunk size and spare size in unyaffs


Hello friends,

I have learning GPL compliance engineering recently, one instrument is used to extract unyaffs image, I would like someone to explain what are chunk size and spare size, can anyone help me? Thanks.
 
Old 10-22-2012, 01:01 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,961
Blog Entries: 12

Rep: Reputation: Disabled
Hi:

I found chunk size:

Chunk Size of 4096
http://code.google.com/p/unyaffs/issues/detail?id=9

Jun 22, 2011 Chunk size is 4096 bytes in system.img. Spare size calculated to be 128 bytes.
http://www.androidtablets.net/forum/...t=13447&page=8

Creating working folder WORKING_062211_155053 ...
Copying boot.img and system.img ...

Adding an update-script ...(This is the example in the webpage not sure if the person who posted this actually ran it)

Chunk size is 4096 bytes in system.img
Spare size calculated to be 128 bytes
Setting chunk size = 4096 in unyaffs.c, line 20
Setting spare size = 128 in unyaffs.c, line 21
Compiling unyaffs ...
unyaffs successfully compiled

Extracting contents of system.img ...

Hope that helps
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mdadm & raid6: does re-create(with different chunk size) + resync destroy orig. data? schanhorst Linux - Server 2 10-15-2010 05:31 PM
mdadm & raid6: does re-create(with different chunk size)+resync destroy orig. data? schanhorst Linux - Server 1 10-14-2010 09:06 PM
Chunk size for RAID ssd7 Linux - Server 3 03-11-2010 03:44 PM
Software Raid-0 Chunk-Size - what is optimal? Swamper Linux - Software 0 09-13-2004 11:29 AM
disk druid and raid chunk size Zvezda Red Hat 0 05-08-2004 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration