2012-05-17 12 views

답변

0

일반 파일에 대한 메타 데이터 SquashFS는 보이는 :

 
===== Header 
start_block: Position of the first block in the file 
file_size: Size of the file in bytes 
... 
===== Block list 
size0: 32-bit header for the first block 
size1 
size2 
... 
===== 

블록 헤더 블록의 압축 된 크기를 포함한다. 따라서 start_block과 모든 선행 블록의 크기를 합하여 주어진 블록의 위치를 ​​계산할 수 있습니다.

도움이 될 수 있습니다 내 순수 루비 SquashFS는 파서 주변에 재생 : 포인터에 대한 https://github.com/vasi/squash.rb

+0

감사합니다. 내가 볼께. – Kapil