LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 09: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, 12:01 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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



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 04:31 PM
mdadm & raid6: does re-create(with different chunk size)+resync destroy orig. data? schanhorst Linux - Server 1 10-14-2010 08:06 PM
Chunk size for RAID ssd7 Linux - Server 3 03-11-2010 02:44 PM
Software Raid-0 Chunk-Size - what is optimal? Swamper Linux - Software 0 09-13-2004 10:29 AM
disk druid and raid chunk size Zvezda Red Hat 0 05-08-2004 10:57 AM

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

All times are GMT -5. The time now is 06:16 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
Open Source Consulting | Domain Registration